Meeting Rooms II

Asked at Snowflake · Coding Questions · Difficulty: Medium · Last asked Feb 6, 2026

Given an array of meeting time intervals `[[start1, end1], [start2, end2], ...]` (start < end), find the minimum number of meeting rooms required to schedule all meetings without conflicts. If a meeting ends exactly when another starts (e.g. one ends at 8 and the next starts at 8), that is not a conflict — they can share a room.

Loading the problem…