Question d’entretien chez Chubb

Two sum from leetcode with python