Search
⌘K

Leetcode 2494. Merge Overlapping Events in the Same Hall

Given a list of events with start/end times and hall identifiers, consolidate each hall's schedule by merging any overlapping (or contiguous, if specified) time intervals that occur in the same hall. This requires grouping events by hall and applying an interval-merge or sweep-line approach to produce a non-overlapping, sorted set of merged intervals per hall.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.