|Don't ask to ask, just ask|
overlap between rangesby hifirock (Novice)
|on Jun 10, 2009 at 10:01 UTC||Need Help??|
hifirock has asked for the wisdom of the Perl Monks concerning the following question:
How can we find the overlap between number ranges.
For example i have five number ranges
a) 1 .. 10
b) 11 .. 20
c) 15 .. 25
d) 21 .. 30
e) 25 .. 35
In the above example 'c' and 'e' overlaps with rest of the ranges. How can i find out the particular range is overlapping?
can anyone help me to sort out the problem?