Pergunta de entrevista da empresa PayPal

Couple of system design problems, DS Algo