#C6711. Meeting Scheduler Conflict Checker
Meeting Scheduler Conflict Checker
Meeting Scheduler Conflict Checker
You are given a list of meeting time intervals. Each meeting is represented as an interval ([start, end)) where (start) denotes the beginning of the meeting and (end) denotes the ending time. Two meetings are considered overlapping if the start time of a meeting is strictly less than the end time of the previous meeting. Determine whether a person can attend all the meetings without any conflicts.
inputFormat
The input is read from standard input (stdin). The first line contains an integer (N) representing the number of meetings. Each of the next (N) lines contains two space-separated integers representing the start and end times of a meeting.
outputFormat
Output to standard output (stdout) a single line that is either 'True' if one can attend all meetings without any overlap, or 'False' otherwise.## sample
3
1 3
5 6
2 4
False