Pregunta de entrevista de Microsoft

A leet code medium question about using dynamic programming for array manipulation