Domanda di colloquio di IBM

Go do a leetcode medium and that sums it up.