Leetcode: 128. Longest Consecutive Sequence(Golang,Java)