Amazon interview question

Mostly technical questions