mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-16 03:59:18 +08:00
Update the docs for the section of AVL tree and style (#351)
Co-authored-by: Yudong Jin <krahets@163.com>
This commit is contained in:
@@ -131,6 +131,7 @@ function testPoll(maxHeap) {
|
||||
maxHeap.print();
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
/* 初始化大顶堆 */
|
||||
const maxHeap = new MaxHeap([9, 8, 6, 6, 7, 5, 2, 1, 4, 3, 6, 2]);
|
||||
console.log("\n输入列表并建堆后");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* File: my_heap.js
|
||||
* File: my_heap.ts
|
||||
* Created Time: 2023-02-07
|
||||
* Author: Justin (xiefahit@gmail.com)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user