find missing range from array of ranges
<p>I am having array of my class that having Minvalue and Maxvalue property.</p>

<p>Suppose in my array i am having three elements</p>

<pre><code>First MinValue=0 and  MaxValue=25
Second MinValue=26 and  MaxValue=50
Third MinValue=75 and  MaxValue=100
</code></pre>

<p>Minvalue and Maxvalue can be between 0 to 100.</p>

<p>Now I want to find the missing range from above array having three objects.</p>

<p>The missing range in above array is 51 to 75</p>

<p>There can be more than one missing value at that time i want to find the range having min MinValue.</p>

<p>I want to write code in javascript.</p>

<p>Please help me to solve this.</p>
