首页 > Term: build-heap
build-heap
Convert an array into a heap by executing heapify progressively closer to the root. For an array of n nodes, this takes O(n) time under the comparison model.
0
创建者
- GeorgeV
- 100% positive feedback