Concept Flow - Meeting Rooms Problem Minimum Rooms Required
Sort intervals by start time
Initialize min-heap for end times
For each interval
Check if earliest end time <= current start
Pop from heap
Push current end time to heap
Repeat for all intervals
Heap size = minimum rooms needed
Sort intervals by start time, use a min-heap to track end times of ongoing meetings, reuse rooms if possible, and the heap size at the end is the minimum rooms required.
