Pregunta de entrevista de Block

Standard Leetcode Problems. Dynamic Programming