PayPal interview question

Puzzles