MediumIntervals
Meeting Rooms II
Minimum conference rooms needed
Solution Approach
Heap or sorting
Complexity Analysis
Time Complexity
O(n*log n)Space Complexity
O(n)Complexity
Time:O(n*log n)
Space:O(n)
Asked at
GoogleAmazon
Minimum conference rooms needed
Heap or sorting
Time Complexity
O(n*log n)Space Complexity
O(n)