Algorithm to determine the minimal set of coins you should carry to always make exact change [closed
- by ??iu
US coin values:
.01, .05, .10, .25 (*)
What is an algorithm to determine what configuration(s) of US coins can be used to match every value from .01-.99 using the fewest coins possible?
* note: there is actually a .50 coin but it is very rarely seen