Given a sorted array of unique integers, return the smallest sorted list of ranges that covers exactly the same numbers. A range [a, b] is written "a->b", or "a" if a == b.
Practise this challenge
All coding challenges