Dictionary search algorithm for string containing letters in alphabet
I guess I should have included some constraints in the beginning....sorry about that. They need to be 26 words or fewer. They can be unrelated words. And as I found out this problem relates to returning pangrams. I'm still looking/wanting help though...haven't reached a solution.
If all you need is to use 26 words or fewer, take the first word containing "a", then take the first after that containing "b", etc.
Minimal set of words, on the other hand, seems to be hard.
Does it have to be a minimal set of strings?
- Anonymous July 28, 2012