0
I have input I can assume is valid of a string containing a single number i.e. 3 or a range 1-5. Sample input is "1-5,3,15-16" and sample output for that input is 1,2,3,4,5,15,16 1,2,3,4,5,15,16. Output need not be sorted.
I built something to parse this but, my god, did it get ugly. Where did t...