Tell me more ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

An interval graph is defined by a finite and non-empty intervals on the real axis. For each interval we have a peak interval graph and two vertices are adjacent if their corresponding intervals have non-empty intersection.

Describe an algorithm that receives input n intervals (closed) with extremities integers in the range [1 .. 2n] determine in O(n) connected components of the graph interval defined by them.

share|improve this question
1  
Looks like an undigested photocopy of an unattributed source. Things go better if you tell people why you're interested in this problem, what you know about it, where you're getting stuck, and so on. – Gerry Myerson Nov 5 '12 at 11:52

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.