Pergunta de entrevista da empresa PayPal

DSA: 2 Pointer Problem was asked in interview