6.Meeting Rooms
Example Input
Input 1:
A = [ [0, 30]
[5, 10]
[15, 20]
]
Input 2:
A = [ [1, 18]
[18, 23]
[15, 29]
[4, 15]
[2, 11]
[5, 13]
]
Example Output
Output 1:
2
Output 2:
4Solution: (Similar to no of platform)/ (Can be solved using similar approach as carpooling)
Using Priority Queue
Last updated