On two occasions I have been asked [by members of Parliament]: 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. Charles Babbage

Coin Change

Language Java | Level Intermediate | Category Algorithms | August 4, 2015 9:12 am


Algorithm Problem Description

Coin Change is the problem of finding the number of ways of making changes for a particular amount of cents, n, using a given set of denominations d1, dn.

Output

          	        
          	        

General coin change that keeps track of coins: [5, 5]

          	        
          	        				    


Comments



Please login to add comments.