guess the next step: Insertion 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 2 of 49
Question 1 of 19
Step 2 of 49
Step 3 of 49
Step 7 of 49
Step 8 of 49
Step 9 of 49
Step 10 of 49
Step 12 of 49
Step 13 of 49
Step 14 of 49
Step 15 of 49
Step 16 of 49
Step 17 of 49
Question 1 of 19
Question 1 of 19
Right.
You guessed: 42 is bigger than 7, so 42 makes room.
What the run did:
42 is bigger than 7, so 42 has to make room.
Question 1 of 19
Not this time.
You guessed: 42 is not bigger than 7, so 7 stops just after it.
What the run did:
42 is bigger than 7, so 42 has to make room.
Question 2 of 19
Question 2 of 19
Right.
You guessed: 42 is bigger than 31, so 42 makes room.
What the run did:
42 is bigger than 31, so 42 has to make room.
Question 2 of 19
Not this time.
You guessed: 42 is not bigger than 31, so 31 stops just after it.
What the run did:
42 is bigger than 31, so 42 has to make room.
Question 3 of 19
Question 3 of 19
Not this time.
You guessed: 7 is bigger than 31, so 7 makes room.
What the run did:
7 is not bigger than 31, so 31 belongs just after it.
Question 3 of 19
Right.
You guessed: 7 is not bigger than 31, so 31 stops just after it.
What the run did:
7 is not bigger than 31, so 31 belongs just after it.
Question 4 of 19
Question 4 of 19
Right.
You guessed: 42 is bigger than 18, so 42 makes room.
What the run did:
42 is bigger than 18, so 42 has to make room.
Question 4 of 19
Not this time.
You guessed: 42 is not bigger than 18, so 18 stops just after it.
What the run did:
42 is bigger than 18, so 42 has to make room.
Question 5 of 19
Question 5 of 19
Right.
You guessed: 31 is bigger than 18, so 31 makes room.
What the run did:
31 is bigger than 18, so 31 has to make room.
Question 5 of 19
Not this time.
You guessed: 31 is not bigger than 18, so 18 stops just after it.
What the run did:
31 is bigger than 18, so 31 has to make room.
Question 6 of 19
Question 6 of 19
Not this time.
You guessed: 7 is bigger than 18, so 7 makes room.
What the run did:
7 is not bigger than 18, so 18 belongs just after it.
Question 6 of 19
Right.
You guessed: 7 is not bigger than 18, so 18 stops just after it.
What the run did:
7 is not bigger than 18, so 18 belongs just after it.