6.Meeting Rooms
Given an 2D integer array A of size N x 2
denoting time intervals of different meetings.
Where:
A[i][0] = start time of the ith meeting.
A[i][1] = end time of the ith meeting.
Find the minimum number of conference rooms required so that all meetings can be done
Solution: (Similar to no of platform)/ (Can be solved using similar approach as carpooling)
Time Complexity: O(n log n)
Using Priority Queue
Time Complexity: O(n log n)
Last updated