Amazon interview question

Assessment test only