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 36 of 40
Question 19 of 21
Step 36 of 40
Step 37 of 40
Step 38 of 40
Step 39 of 40
Question 19 of 21
Question 19 of 21
Question 19 of 21
Not this time.
You guessed: 23 is no bigger than the numbers below it, so it stays.
What the run did:
Swap them: 23 sinks below 12.
Question 19 of 21
Not this time.
You guessed: Nothing is below 23, so it stays.
What the run did:
Swap them: 23 sinks below 12.
Question 20 of 21
Question 20 of 21
Not this time.
You guessed: 31 is smaller than 23.
What the run did:
31 is not smaller than 23.
Question 20 of 21
Right.
You guessed: 31 is not smaller than 23.
What the run did:
31 is not smaller than 23.
Question 21 of 21
Question 21 of 21
Not this time.
You guessed: 23 swaps down.
What the run did:
23 is no bigger than the numbers below it, so it stays.
That is every question on this run: 0 of 21 right.
Question 21 of 21
Right.
You guessed: 23 is no bigger than the numbers below it, so it stays.
What the run did:
23 is no bigger than the numbers below it, so it stays.
That is every question on this run: 1 of 21 right.
Question 21 of 21
Not this time.
You guessed: Nothing is below 23, so it stays.
What the run did:
23 is no bigger than the numbers below it, so it stays.
That is every question on this run: 0 of 21 right.