Meeting Rooms

Easy · Intervals · about 10 minutes

Asked at Meta, Amazon, Bloomberg.

Given meeting time intervals[i] = [start, end], return true if one person could attend all of them. A meeting may start exactly when another ends.

Related guides