Pregunta de entrevista de Amazon

dynamic programming questions from leetcode