Longest Consecutive Sequence: use hash set