guess the next step: Selection 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 9 of 61
Question 7 of 35
Step 9 of 61
Step 10 of 61
Step 11 of 61
Step 13 of 61
Step 14 of 61
Step 15 of 61
Step 16 of 61
Step 17 of 61
Step 18 of 61
Step 19 of 61
Question 7 of 35
Question 7 of 35
Not this time.
You guessed: 49 is smaller than 7, so 49 is the smallest so far.
What the run did:
49 is not smaller than 7, so 7 is still the smallest so far.
Question 7 of 35
Right.
You guessed: 49 is not smaller than 7, so 7 stays the smallest so far.
What the run did:
49 is not smaller than 7, so 7 is still the smallest so far.
Question 8 of 35
Question 8 of 35
Right.
You guessed: The smallest left swaps into this place.
What the run did:
Swap 7 into the place, and 42 goes where 7 was.
Question 8 of 35
Not this time.
You guessed: The smallest left is already in this place, so nothing moves.
What the run did:
Swap 7 into the place, and 42 goes where 7 was.
Question 9 of 35
Question 9 of 35
Right.
You guessed: 31 is smaller than 42, so 31 is the smallest so far.
What the run did:
31 is smaller than 42.
Question 9 of 35
Not this time.
You guessed: 31 is not smaller than 42, so 42 stays the smallest so far.
What the run did:
31 is smaller than 42.
Question 10 of 35
Question 10 of 35
Right.
You guessed: 18 is smaller than 31, so 18 is the smallest so far.
What the run did:
18 is smaller than 31.
Question 10 of 35
Not this time.
You guessed: 18 is not smaller than 31, so 31 stays the smallest so far.
What the run did:
18 is smaller than 31.
Question 11 of 35
Question 11 of 35
Not this time.
You guessed: 56 is smaller than 18, so 56 is the smallest so far.
What the run did:
56 is not smaller than 18, so 18 is still the smallest so far.
Question 11 of 35
Right.
You guessed: 56 is not smaller than 18, so 18 stays the smallest so far.
What the run did:
56 is not smaller than 18, so 18 is still the smallest so far.
Question 12 of 35
Question 12 of 35
Not this time.
You guessed: 23 is smaller than 18, so 23 is the smallest so far.
What the run did:
23 is not smaller than 18, so 18 is still the smallest so far.
Question 12 of 35
Right.
You guessed: 23 is not smaller than 18, so 18 stays the smallest so far.
What the run did:
23 is not smaller than 18, so 18 is still the smallest so far.