Pregunta de entrevista de Robert Bosch

Hackerrank questions about DP and data structures