coin exchange
TechJedi > coin exchange
Coin Exchange Problem — Greedy or Dynamic Programming?
28
Mar
Coin Exchange Problem: Coin exchange problem is nothing but finding the minimum number of coins (of certain denominations) that add up to a given amount of money. It is a knapsack type problem. The interesting fact is that it has 2 variations: 1. Greedy Algorithm: For some type of coin system (canonical coin systems — […]