โ† Oracle questions

Summary ranges formatted as a string

Filed under Oracle

Given a sorted array of unique integers, return a list of strings representing the summary of consecutive ranges. For example, [0, 1, 2, 4, 5, 7] returns ['0->2', '4->5', '7'].

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Oracle questions

Collected from public candidate posts and coding forums. Updated Nov 2026.