Compute Overlapping Intervals Across Multiple Schedules (Line Sweep)

Asked at Veeva Systems · Coding Questions · Difficulty: Medium

You are given schedules for `N` people (or `N` targets). Each schedule contains multiple time intervals `interval = [start, end]` during which that person is **busy/active**.

Loading the problem…