guess the next step: Binary 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 16 of 24
Question 7 of 13
Step 16 of 24
Step 17 of 24
Step 18 of 24
Step 19 of 24
Step 20 of 24
Step 21 of 24
Step 22 of 24
Question 7 of 13
Question 7 of 13
Question 7 of 13
Not this time.
You guessed: 20 is not smaller than 60.
What the run did:
20 is smaller than 60.
Question 8 of 13
Question 8 of 13
Not this time.
You guessed: 30 is smaller than 20.
What the run did:
30 is not smaller than 20.
Question 8 of 13
Right.
You guessed: 30 is not smaller than 20.
What the run did:
30 is not smaller than 20.
Question 9 of 13
Question 9 of 13
Question 9 of 13
Not this time.
You guessed: 60 is no bigger than the numbers below it, so it stays.
What the run did:
Swap them: 60 sinks below 20.
Question 9 of 13
Not this time.
You guessed: Nothing is below 60, so it stays.
What the run did:
Swap them: 60 sinks below 20.
Question 10 of 13
Question 10 of 13
Question 10 of 13
Not this time.
You guessed: 40 is not smaller than 60.
What the run did:
40 is smaller than 60.
Question 11 of 13
Question 11 of 13
Not this time.
You guessed: 50 is smaller than 40.
What the run did:
50 is not smaller than 40.
Question 11 of 13
Right.
You guessed: 50 is not smaller than 40.
What the run did:
50 is not smaller than 40.
Question 12 of 13
Question 12 of 13
Question 12 of 13
Not this time.
You guessed: 60 is no bigger than the numbers below it, so it stays.
What the run did:
Swap them: 60 sinks below 40.
Question 12 of 13
Not this time.
You guessed: Nothing is below 60, so it stays.
What the run did:
Swap them: 60 sinks below 40.