Amazon interview question

They asked me to solve 1 medium dynamic programming problem and hard problem.