Intervals - Data Stream as Disjoint Intervals
Consider the following Python code implementing the optimal approach for maintaining disjoint intervals. After executing
addNum(1), addNum(3), and addNum(2) in order, what is the final state of self.intervals?