Pregunta de entrevista de Turing

The LeetCode problem: Longest Consecutive Sequence.