add DistinctSubseunce solution