Question d’entretien chez Point72

python problem was similar to leetcode easy