Question bank › Intervals
Dsa Intervals Hard

Minimum Rooms for Meetings

You are given a list of meeting intervals, each represented as 'start-end'. Write a program to determine the minimum number of meeting rooms required to hold all meetings without overlap. The input is a single line of meeting intervals. Example: '0-30 5-10 15-20' requires 2 rooms.

Key concepts

intervalsschedulinggreedy

Practise this out loud — free

Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.

🎙 Practise this question now
Part of InterviewLab's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.