question 1
How many tries does the method make on coins of 1, 5 and 6 paying 9?
the answer, and why
the answer is D
Coin 1 is tried at 9 amounts, coin 5 at 5 and coin 6 at 4, which is 18.
if you chose another
- That tries every coin at every amount, but coins 5 and 6 are too big for the first amounts.
- That is the number of amounts filled, not the tries.
- That is the fewest coins for 9, as 6, 1, 1, 1.