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