Pergunta de entrevista da empresa Turing

What is the longest consecutive subsequence in the given array?