Amazon interview question

Cannot mention the actual question