Pregunta de entrevista de Anonymous Content

2 dimentional array and dynamic programming