How many different ways can £2 be made using any number of coins? (Depth First Search and Dynamic Programming)
In the United Kingdom the currency is made up of pound (£) and pence (p). There are eight coins in general circulation: 1p, 2p, 5p, 10p, 20p, 50p, £1 …