Sort the vector by start time, then check if s[i].start < s[i + 1].end