Home
Log in
DescriptionSubmissionsSolution
DescriptionSubmissionsSolution
Loading...

Log in to run or submit

intervals =

Codey

Practise coding problems, test your solutions and track your progress.

Explore

  • Problems
  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Use

© 2026 Codey. Personal learning project.

Meeting Rooms II

Medium

Given an array of meeting time intervals intervals where intervals[i] = [start_i, end_i], return the minimum number of conference rooms required.

Example 1:

Input: intervals = [[0,30],[5,10],[15,20]]
Output: 2

Constraints:

  • 0 \le intervals.length \le 10^4
  • intervals[i].length = 2
  • 0 \le start_i < end_i \le 10^6

Meeting Rooms II

Medium

Given an array of meeting time intervals intervals where intervals[i] = [start_i, end_i], return the minimum number of conference rooms required.

Example 1:

Input: intervals = [[0,30],[5,10],[15,20]]
Output: 2

Constraints:

  • 0 \le intervals.length \le 10^4
  • intervals[i].length = 2
  • 0 \le start_i < end_i \le 10^6