Binary min-heap
In a min-heap, each parent is smaller than or equal to its children. The smallest number is always at the root.
A new number starts at the end and climbs past larger parents. When we remove the minimum, the last number takes its place and moves down by swapping with the smaller child.