Pregunta de entrevista de Junglee Games

2d dp problem which was based on a matrix