Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Longest Consecutive Sequence In An Array
Medium
Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence.
You must write an algorithm that runs in O(n) time.
...
Asked at:AutoDesk
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.