leetcode: Longest Consecutive Sequence