in reply to Re: Check if a word is included in another
in thread Check if a word is included in another

I think my solution is relatively fast only because of the length comparison at the beginning - you could try to add that to the other solutions, it might reduce the run time for pairs of random lengths significantly.
  • Comment on Re^2: Check if a word is included in another