Longest Consecutive Sequence

Length of the longest run of consecutive integers, in O(n).

Loading NamasteScale