Merge Intervals
Problem overview from a real Apple interview:
Asked at Apple, process a 2D array of up to 1000 start and end coordinate pairs. Apply O(n log n) sorting to output a list of disjoint ranges.
Check more interview questions and experiences about Apple
