Amazon interview question

Was good to be there