[Coins Change Problem] - Minimum Coins Required

My solution is failing for some of the inputs. Please, let me know what I am missing.