Amazon interview question

Easy peasy, lemon squeasy