Skip to content

guess the next step: Heap sort

Before each step plays, guess what it does. The page then shows the step as the run takes it and says why, the same sentence the watch page says there.

Step 20 of 53

124231187235611224233141857623756
The heap is one smaller. Sift the new top, 12, down.

Question 13 of 29

What happens next?

Your guess