Problem bank
MediumIntervals LeetCode premiumNeetCode 150 · #134/150

Meeting Rooms II

  1. 1
    Learn the pattern

    Sort by start. Then it's one pass: overlap → merge, else push. End-time sort for scheduling.

  2. 2
    Trace your version

    Paste your solution into the workspace and watch every step execute.

    Open workspace
  3. 3
    Solve it

    Note: submitting this one needs a LeetCode premium subscription — the pattern is still worth studying.

Meeting RoomsMinimum Interval to Include Each Query