Oracle Interview Question

Coin change problem, take home coding exercise