O57
Meeting Rooms II (Min Conference Rooms)
Problem Statement & Objective
Given an array of meeting time intervals, find the minimum number of conference rooms required.
Function Signature (Python)
meeting_rooms_ii_min_conference(intervals: list[list[int]]) -> intInput & Output Contract
Output Rule:Gereken minimum salon sayısı.
System Constraints
0 <= araliklar.length <= 10^4
0 <= baslangic < bitis <= 10^6Example Execution Walkthrough
araliklar = [[0, 30], [5, 10], [15, 20]] -> [0, 30] ile [5, 10] ve [15, 20] çakışır -> 2 salon gerekirExample Test Scenarios (3)
Example 1
Input:
[[[0,30],[5,10],[15,20]]]Expected Output:
2Example 2: Çakışma Yok
Input:
[[[7,10],[2,4]]]Expected Output:
1Example 3: Empty List
Input:
[[]]Expected Output:
0