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:
Justin Tse
2023-02-09 00:36:06 +08:00
committed by GitHub
parent e65c7bd478
commit 1eb0d91978
3 changed files with 37 additions and 11 deletions

View File

@ -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输入列表并建堆后");