How To Find Subsequence Of An Array