Amazon Interview Question

Find longest consecutive subsequence in an Array