Binary Heap

Insert values and remove the top — as a max-heap or a min-heap.

Ready
0Items
–Maximum (root)
–Tree height

READY

Same colour and label (L0, L1 …) = same tree level Compared now × Broken link · child out of order with its parent Removed