Concept Flow - Build Heap from Array Heapify
Start with array
Find last non-leaf node
For each node from last non-leaf to root
Heapify node
Compare node with children
Swap if child larger (max-heap)
Repeat heapify down subtree
Move to previous node
Done when root heapified
Start from the last non-leaf node and heapify each node up to the root to build a max-heap.