Pregunta de entrevista de Wells Fargo

Coin change problem execution, time and space complexity