Delete distinctSubsquence