Overlapping Book-Page Range
<p>I have a set of <code>Book-Page(6794-47)</code> range. Please note that page limit is not confirm.</p>

<p>Now I want to check the overlapping of  book page range in multiple range list</p>

<p>Please check below example.</p>

<p>Below is my parameter range.</p>

<pre>
Start Book-Page Range ---- (21205-41) 

End Book-Page Range ---- (21206-1674)
</pre>

<p>and want to extract the overlapped ranges from a range list
Range List e.g</p>

<pre>
---------------------------------------------------------------------------------
21206-974 to 21206-5196 (overlapping since page 974 lies between parameter range)
--
21206-1974 to 21206-5196 (not overlapping)

21207-74 to 21207-193 (not overlapping)

21204-71 to 21205-100   (overlapping since page 100 lies between parameter range)
--
21205-31-21205-59 (overlapping)
--
</pre>

<p>Now I need to get the all overlapping from list range. Please help me. </p>

<p>Regards
Arun Bhandari</p>
