Domanda di colloquio di RepUp

Coding question was on dynamic programming