distinct subseq