Domanda di colloquio di Meta

Leetcode medium difficulty problem about intervals.