The Heap Property
Know
Every parent compares correctly against its own children. Siblings are unordered and the structure is not sorted, which is why maintaining it is cheap.
Apply
Use a heap when only the extreme element is needed repeatedly.
Watch out
Expecting sorted order from a heap traversal. Only the root is guaranteed.
Study move
Draw a valid min-heap whose level order is clearly unsorted.
