Amazon Interview Question

Leetcode medium about dynamic programming