Given a stream of integers, output them dynamically or as a sorted list represented as condensed ranges (e.g., consecutive numbers are grouped as start-end, individual numbers remain single).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.