Given an array of meeting time intervals consisting of start and end times, determine if a person could attend all meetings.
For example, returns false because meetings overlap. But returns true. This is simpler than counting overlaps. You only need to detect if any overlap exists at all. Think about the simplest way to check this. After sorting, overlaps must occur between adjacent meetings.