Question d’entretien chez Fast Enterprises

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