Minimum Conference Rooms for a Day's Schedule

Asked at Goldman Sachs · Coding Questions · Difficulty: Medium · Last asked Oct 16, 2026

A building has a set of meetings planned for one day, each with a start time and an end time. Every meeting needs a whole room to itself for its entire duration, and a room can host only one meeting at a time. Work out the smallest number of rooms that lets every meeting take place.

Loading the problem…