Amazon interview question

Dynamic Programming kind of question