Question d’entretien chez Cisco

2 sum. From leetcode. Not that hard