Easy · Intervals
Schedule meetings
Given an array intervals of meetings {start, end} (start < end) in any order, return true if one person can attend all of them, meaning no two meetings overlap (a meeting may start exactly when another ends), and false otherwise.
Examples
Example 1
[0,30] [5,10] [15,20] → falseOutput: conflict
Example 2
[7,10] [2,4] → trueOutput: can attend all
Rebuild it in the studio
Open every published interview problem, solution, scene, and memory room free, with no account.