Pregunta de entrevista de Optum

Python basic 2 pointer problem called two sum