Reputation: 1813
Let us have a set of ranges r1, r2, ... rn. Then choose some other range R. What is the fastest (or at least a fast) algorithm to determine which of the ranges r1, r2, ... rn that has a nonempty intersection with R? Is there an optimal datastructure to store the set of ranges in?
Upvotes: 0
Views: 77