Domanda di colloquio di Turing

The LeetCode problem: Longest Consecutive Sequence.