Skip to content

guess the next step: Changing a number in a heap

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 14 of 22

12354530b5a45c30
30 stands in place 3. The heap keeps a note of where each number stands, so this is one look and no comparison.

Question 7 of 10

What happens next?

Your guess