Data Stream as Disjoint Intervals

Data Stream as Disjoint Intervals - Coding Problem | K5kC