Difficulty:

Calculate the minimum number of coins needed to change a given amount of money. For the purpose of this problem, the coin nominations are 1, 2, 5, 10, and 25 cents.

Challenge Your Friends!

changeCoins(8);

3