Amazon interview question

A lot of algorithm and coding questions.