Coin changing variation
How to solve this problem about coin changing? Btw, it has a short problem statement.
Thanks.