Try the same model with your own values. No checks, nothing recorded.
Back to Heaps and priority queues
An empty min-heap, for you to try freely. Push whole numbers and watch each one climb through the array and the tree at the same time. Pop the smallest value and watch the last value sink. Peek to see that the smallest value is always at index 0. You can also load a preset and step through what it did.
empty
Push a few values and watch them sift up.
Values are whole numbers of up to three digits. The heap holds at most 15 items so the tree fits on screen.