Mental Model
We want to find the smallest number of rooms needed so that no meetings overlap in the same room.
Analogy: Imagine you have several friends who want to use a few study rooms. Each friend has a start and end time. You want to know how many rooms you need so that no two friends share a room at the same time.
Meetings: [1,4], [2,5], [7,9] Timeline: 1 2 3 4 5 6 7 8 9 Rooms needed: Room1: [1,4] [7,9] Room2: [2,5]
