Pergunta de entrevista da empresa Optum

Python basic 2 pointer problem called two sum