Thanks to visit codestin.com
Credit goes to www.educative.io

Meeting Rooms

Try to solve the Meeting Rooms problem.

Statement

You are given an array of meeting times, intervals, where each interval consists of a pair of start and end times, identify whether or not a person can attend all the meetings.

An important thing to note here is that the specified end time for each meeting is exclusive.

Constraints:

  • 0≤0 \leq intervals.length ≤103\leq 10^3 ...