Domanda di colloquio di Google

DSA question based on Intervals, Heaps