Range consolidation: Difference between revisions
Content added Content deleted
(Ada version) |
m (Better word.) |
||
Line 15: | Line 15: | ||
;'''Example 1:''' |
;'''Example 1:''' |
||
:Given the two ranges <tt>[1, 2.5]</tt> and <tt>[3, 4.2]</tt> then there is no |
:Given the two ranges <tt>[1, 2.5]</tt> and <tt>[3, 4.2]</tt> then there is no |
||
:common |
:common region between the ranges and the result is the same as the input. |
||
;'''Example 2:''' |
;'''Example 2:''' |
||
:Given the two ranges <tt>[1, 2.5]</tt> and <tt>[1.8, 4.7]</tt> then there is |
:Given the two ranges <tt>[1, 2.5]</tt> and <tt>[1.8, 4.7]</tt> then there is |