PayPal interview question

Some random theoretical question for a coding round