โ† Zoho questions

Find longest continuous range of numbers

Filed under Zoho

Given an unsorted array of positive integers, find and return the elements that form the longest continuous sequence of consecutive numbers (not necessarily appearing contiguously in the array).

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 Zoho questions

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