Question d’entretien chez IBM

They gave a Leetcode Question