shaik
BAN USERLet me explain it again, the first element which is 0 is the starting pointing of the line and the 2nd element which is 3 is the end point of the line. Draw a line from 0 to 3. Now take the 2nd of elements that is 1 and 5, now draw a line from 1 to 5, notice that the 1 is between 0 and 3 range which means the the line overlaps from 1 to 3 so now the starting point is 0 and the new end point is 5 excluding the overlapped points.
I hope this is clear.
Now, take the 3rd set of numbers which are 7 and 9, now draw a line from 7 to 9, notice that it doesn't overlap with the previous ranges. Again take the next set of elements that is 8 and 13, draw line from 8 to 13, notice that 8 is between 7 and 9, so there is an overlap from 8 to 9. Now exclude 8 and 9 since they overlap and take the start point 7 and the new end point will be 13.
I hope it is now clear.
Repnancyhfloress, Computer Scientist at AMD
Hey there, I’m Nancy. I’m a small business owner living in Sunrise, FL 33323. I am a fan ...
Let me explain it again, the first element which is 0 is the starting pointing of the line and the 2nd element which is 3 is the end point of the line. Draw a line from 0 to 3. Now take the 2nd of elements that is 1 and 5, now draw a line from 1 to 5, notice that the 1 is between 0 and 3 range which means the the line overlaps from 1 to 3 so now the starting point is 0 and the new end point is 5 excluding the overlapped points.
- shaik November 27, 2012I hope this is clear.
Now, take the 3rd set of numbers which are 7 and 9, now draw a line from 7 to 9, notice that it doesn't overlap with the previous ranges. Again take the next set of elements that is 8 and 13, draw line from 8 to 13, notice that 8 is between 7 and 9, so there is an overlap from 8 to 9. Now exclude 8 and 9 since they overlap and take the start point 7 and the new end point will be 13.
I hope it is now clear.