Concept Flow - Meeting Rooms Problem Minimum Rooms Required
Sort intervals by start time
Initialize min-heap for end times
For each interval
If min-heap empty or earliest end > current start
Add new room (push end time)
Update rooms count
Else earliest end <= current start
Reuse room (pop earliest end, push current end)
Repeat for all intervals
Return size of min-heap as minimum rooms
Sort meetings by start time, use a min-heap to track earliest ending meeting, allocate or reuse rooms accordingly.