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 19 of 61
Question 13 of 35
Step 19 of 61
Step 20 of 61
Step 21 of 61
Step 22 of 61
Step 23 of 61
Step 25 of 61
Step 26 of 61
Step 27 of 61
Step 28 of 61
Step 29 of 61
Question 13 of 35
Question 13 of 35
Right.
You guessed: 12 is smaller than 18, so 12 is the smallest so far.
What the run did:
12 is smaller than 18.
Question 13 of 35
Not this time.
You guessed: 12 is not smaller than 18, so 18 stays the smallest so far.
What the run did:
12 is smaller than 18.
Question 14 of 35
Question 14 of 35
Not this time.
You guessed: 49 is smaller than 12, so 49 is the smallest so far.
What the run did:
49 is not smaller than 12, so 12 is still the smallest so far.
Question 14 of 35
Right.
You guessed: 49 is not smaller than 12, so 12 stays the smallest so far.
What the run did:
49 is not smaller than 12, so 12 is still the smallest so far.
Question 15 of 35
Question 15 of 35
Right.
You guessed: The smallest left swaps into this place.
What the run did:
Swap 12 into the place, and 42 goes where 12 was.
Question 15 of 35
Not this time.
You guessed: The smallest left is already in this place, so nothing moves.
What the run did:
Swap 12 into the place, and 42 goes where 12 was.
Question 16 of 35
Question 16 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 16 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 17 of 35
Question 17 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 17 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 18 of 35
Question 18 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 18 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.