Intel Corporation interview question

Dynamic programming with medium - difficult level