guess the next step: Greedy change-making
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 1 of 20
Question 1 of 16
Step 1 of 20
Step 2 of 20
Step 3 of 20
Step 4 of 20
Step 5 of 20
Step 6 of 20
Step 7 of 20
Question 1 of 16
Question 1 of 16
Not this time.
You guessed: A coin of 15 fits, so take it.
What the run did:
A coin of 15 does not fit in the 14 left, so go on to the next smaller coin.
Question 1 of 16
Right.
You guessed: A coin of 15 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 15 does not fit in the 14 left, so go on to the next smaller coin.
Question 2 of 16
Question 2 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 14 left, so take it. 13 left to pay.
Question 2 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 14 left, so take it. 13 left to pay.
Question 3 of 16
Question 3 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 13 left, so take it. 12 left to pay.
Question 3 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 13 left, so take it. 12 left to pay.
Question 4 of 16
Question 4 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 12 left, so take it. 11 left to pay.
Question 4 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 12 left, so take it. 11 left to pay.
Question 5 of 16
Question 5 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 11 left, so take it. 10 left to pay.
Question 5 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 11 left, so take it. 10 left to pay.
Question 6 of 16
Question 6 of 16
Right.
You guessed: A coin of 1 fits, so take it.
What the run did:
A coin of 1 fits in the 10 left, so take it. 9 left to pay.
Question 6 of 16
Not this time.
You guessed: A coin of 1 does not fit, so go on to the next smaller coin.
What the run did:
A coin of 1 fits in the 10 left, so take it. 9 left to pay.