Adobe Interview Question

Simple coin challenge problem using dp.