Data structures · Heaps and priority queues
Taking the smallest item off the top leaves a hole at the root, and one item sinking down the tree fills it.