Bloomberg interview question

leetcode medium 322. Coin Change