Fast Enterprises interview question

Given several time line, write an algorithm to see if they intersect.