CBRE interview question

Coin change problem