Block interview question

Dynamic Programming