Loading...
The Meeting Room Allocator
A hard Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- hard
- Seniority
- senior
Problem
The office manager needs to know how many conference rooms to keep unlocked each day. Given today's meeting schedule as a list of start/end time intervals, figure out the peak overlap to determine the minimum number of rooms needed so no two meetings in the same room overlap. Intervals are half-open: a meeting ending at time 10 does not conflict with one starting at time 10.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.