Create Intervals (iterator version)

Create Intervals (iterator version)

From a set of ints (which will be an iterator of the sorted list) you have to create a list of closed intervals as tuples, so the intervals are covering all the values found in the set. After that you have to create an iterator object which is linked to this list.

A closed interval includes its...

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