Amazon interview question

Coin exchange problem on leetcode.