AC: Longest Consecutive Sequence

not that good.