Update longestConsecutiveSequence.cpp