Finds all ranges of (min 3) subsequent integers, given a list of integers in ascending order. Ranges will be expressed with a dash between integers. Returns a string.
saarcoder / integer-ranges Goto Github PK
View Code? Open in Web Editor NEWFinds all ranges of (min 3) subsequent integers from an ordered list
License: MIT License