Capital One Interview Question

Find the minimum change given the denominations. (dynamic programming problem)