Mental Model
We turn an unordered list into a heap by fixing each subtree from the bottom up, ensuring the heap property holds everywhere.
Analogy: Imagine organizing a messy pile of books into neat stacks by starting from the bottom shelves and fixing each shelf so heavier books are below lighter ones.
Array: [4, 10, 3, 5, 1]
Heap tree:
4
/ \
10 3
/ \
5 1