[old] Create Intervals

[old] Create Intervals

From a Array of Integers you have to create a list of closed intervals as Arrays, so the intervals are covering all the values found in the set.

A closed interval includes its endpoints! The interval 1..5, for example, includes each value x that satifies the condition 1 <= x <= 5.

Values can only be...
A single value, that does not fit into an existing interval becomes the start- and endpoint of a new interval.

You should be an authorized user in order to see the full description and start solving this mission.
19