This greedy algorithm will use the most locally optimal choice for each iteration. This algorithm is adapted for the least-coin denominations of a given currency.
srezzag / greedy-algorithm-currency Goto Github PK
View Code? Open in Web Editor NEWThis greedy algorithm will use the most locally optimal choice for each iteration. This algorithm is adapted for the least-coin denominations of a given currency.