question 1
How many tries does the method make on coins of 1, 2 and 5 paying 9?
the answer, and why
the answer is D
Coin 1 is tried at 9 amounts, coin 2 at 8 and coin 5 at 5, which is 22.
if you chose another
- That tries every coin at every amount, but coins 2 and 5 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 5, 2, 2.