Longest Consecutive Sequence Leetcode Question