O57

Meeting Rooms II (Min Conference Rooms)

Mid / Senior Engineer
Target Time: 25 - 35 Minutes
Type: NUMERIC

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]]) -> int

Input & Output Contract

Output Rule:Gereken minimum salon sayısı.

System Constraints

0 <= araliklar.length <= 10^4
0 <= baslangic < bitis <= 10^6

Example Execution Walkthrough

araliklar = [[0, 30], [5, 10], [15, 20]] -> [0, 30] ile [5, 10] ve [15, 20] çakışır -> 2 salon gerekir

Example Test Scenarios (3)

Example 1
Input:[[[0,30],[5,10],[15,20]]]
Expected Output:2
Example 2: Çakışma Yok
Input:[[[7,10],[2,4]]]
Expected Output:1
Example 3: Empty List
Input:[[]]
Expected Output:0
Loading Python Editor...
Input Parameters
[
  [
    [
      0,
      30
    ],
    [
      5,
      10
    ],
    [
      15,
      20
    ]
  ]
]
Expected Output
2