Amazon interview question

To do a technical test