Fewest Rooms for a Day of Meetings

Asked at Google · Coding Questions · Difficulty: Medium · Last asked Jun 26, 2026

A building must host a list of meetings, each with a start time and an end time. Two meetings that overlap in time cannot share a room. Return the smallest number of rooms that can hold every meeting.

Loading the problem…