Pregunta de entrevista de Pocket Gems

Online Assessment: Dynamic Programming question