Oracle interview question

Coin change problem, take home coding exercise