Amazon interview question

easy/medium lc problems and questions