why i am getting TLE in this
my code https://ide.codingblocks.com/s/43791
ques link https://hack.codingblocks.com/contests/c/547/1026
TLE in money change
TLE is because recursive dp wont be able to handle this.
Try writing a bottom up dp for the same.