Question d’entretien chez Amazon

Leetcode medium question Debuging assessment was also easy