結果 : find longest consecutive subsequence in an array