Amazon interview question

Multiple choices for a problem solution.