Infosys interview question

Asked coin change problem (Leetcode) Standard 2d DP