Update longestConsecutiveSequence.java