Amazon interview question

Ds and algo question including dp problems