Amazon Interview Question

basic 2d dp question same as leetcode