Solved longest consecutive sequence.