GoalYou are given an array of numbers and must simplify the array by replacing ranges of 3 or more items with the shorthand #-# equivalent and returning the result as a string, sorted from lowest to highest
Line 1: A string representing an array of digits to simplify and reduce.
A comma separated string containing the sorted and simplified range sets.
1 ≤ N ≤ 100 where N is each item in the array
A higher resolution is required to access the IDE