Amazon interview question

nothing difficult and all