Longest Consecutive Sequence
MediumArrays & Hashing
The problem
Find the length of the longest run of consecutive integers in an unsorted array.
Full statement, examples and constraints: see the original problem link below.
Find the length of the longest run of consecutive integers in an unsorted array.
Full statement, examples and constraints: see the original problem link below.