Capital One interview question

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