How to find longest consecutive subsequence in an array

Published --