Pregunta de entrevista de Oracle

Coin change problem, take home coding exercise