Pregunta de entrevista de Chubb

Two sum from leetcode with python