Intervals - Data Stream as Disjoint Intervals
What is the time complexity of the
addNum operation in the optimal balanced tree approach for maintaining disjoint intervals, assuming there are n intervals stored?