252. Meeting Rooms

Description

Given an array of meeting time intervals where intervals[i] = [starti, endi], determine if a person could attend all meetings.

Constraints

  • 0 <= intervals.length <= 104

  • intervals.length == 2

  • 0 <= starti < endi <= 106

Approach

  • GeeksforGeeks

  • ProgramCreek

  • YouTube

Examples

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

Output: false

Solutions

Follow up

Last updated

Was this helpful?