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 2 of 53

427311856231214227331418556623712
Sift 31 down: while a child is bigger, swap it with its bigger child.

Question 1 of 29

What happens next?

Your guess