leetcode: add codes for the problem "Longest Consecutive Sequence"