I have a list of intervals to extract sub-curves, but some of these intervals have overlapping-ranges.
How can I merge these intervals into non-overlapping intervals?
For example
input
-------
0.0 to 0.7
0.1 to 0.3
0.2 to 0.6
0.8 to 1.0
output
---------
0.0 to 0.7
0.8 to 1.0
Tags: