updated leetcode_Longest_Consecutive_Sequence with an easier way