Re: How to generate k+1 length strings from a list of k lengthstrings?

2006-06-09 Thread Sibylle Koczian
Girish Sahani schrieb: > Yes it is the former of course.Common elements could be in any order in > both strings. > Thanks Marc :)...though we need to add an if for checking the length of > the string (k+1). > No, why? Every character from string1 is removed from string2 at most once. And string2

Re: How to generate k+1 length strings from a list of k lengthstrings?

2006-06-08 Thread Girish Sahani
Yes it is the former of course.Common elements could be in any order in both strings. Thanks Marc :)...though we need to add an if for checking the length of the string (k+1). > > Jon Clements wrote: >> Are you asking the question, "Which pairs of strings have one character >> different in each?",