guess the next step: Bubble 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 44 of 48
Question 31 of 33
Step 44 of 48
Step 45 of 48
Step 46 of 48
Step 47 of 48
Question 31 of 33
Question 31 of 33
Not this time.
You guessed: 7 is bigger than 12, so they swap.
What the run did:
7 is not bigger than 12, so they stay as they are.
Question 31 of 33
Right.
You guessed: 7 is not bigger than 12, so they stay.
What the run did:
7 is not bigger than 12, so they stay as they are.
Question 32 of 33
Question 32 of 33
Not this time.
You guessed: 12 is bigger than 18, so they swap.
What the run did:
12 is not bigger than 18, so they stay as they are.
Question 32 of 33
Right.
You guessed: 12 is not bigger than 18, so they stay.
What the run did:
12 is not bigger than 18, so they stay as they are.
Question 33 of 33
Question 33 of 33
Not this time.
You guessed: The biggest number left settles at the end.
What the run did:
That walk swapped nothing, so everything left is already in order.
That is every question on this run: 0 of 33 right.
Question 33 of 33
Right.
You guessed: Everything left is already in order.
What the run did:
That walk swapped nothing, so everything left is already in order.
That is every question on this run: 1 of 33 right.