252 Meeting Rooms
Given an array of meeting time intervals consisting of start and end times[[s1,e1],[s2,e2],...]
(si< ei), determine if a person could attend all meetings.
For example,
Given[[0, 30],[5, 10],[15, 20]]
,
returnfalse
.
这题很简单,就是按照start排序,然后check一下有没有overlap就行了。
Last updated