Difficulty: MEDIUM
Categories: λ°°μ΄/λ¬Έμμ΄μ λμ¨νμΈλ/MST
Source: https://leetcode.com/problems/longest-consecutive-sequence/