2 years ago
Feel free to contribute, however it will be moderated to curb spams.
O(n2) is simple, O(n) is nice
Given infinite supply of "n" denominations of coins and a change amount "A", give an algorithm to use minimum number of coins to do the transaction?