Intervals - Minimum Interval to Include Each Query
Consider two approaches for Minimum Interval to Include Each Query: (1) binary search with preprocessing intervals by length, and (2) sorting intervals and queries with a min-heap for active intervals. When is approach (1) preferable over (2)?
