Pergunta de entrevista da empresa Chubb

Two sum from leetcode with python