資料結構›Ch7 搜尋與排序
第 2 題/共 76 題
◀ DS 2/76
2. Heap、Heapify
#DS-07-002易HeapHeapify

Consider an array [4,5,1,10,2,7][4, 5, 1, 10, 2, 7]. What does the array look like after BUILD-MAX-HEAP (bottom-up heapify) is performed, a process that converts the array into a max-heap by adjusting subtrees starting from the bottom non-leaf nodes and working up to the root?

📄 台大115
跳轉到第題
▤完整推導請見《WH 資工筆記 · 資料結構》Ch7 搜尋與排序
本章題號 · 1–20 / 76