Longest Consecutive Sequence.
Unlock detailed company stats for this questionUpgrade
I answered it quickly, so a pseudocode explanation was sufficient for the interviewer.
Format · LeetCode Hard; no hints initially, and time/space complexity and edge cases are discussed.
Also asked as · Find the longest consecutive sequence.
Community answers
No answers contributed by the community yet.
Related questions
Find the length of the longest consecutive sequence in an array.Find the longest increasing sequence whose consecutive difference is 1.Consecutive LoginsRelated courses

Course

Course
Course




