Quote:
Originally Posted by Chompy
And.. don't hurt me if this isn't a good anagram finder
|
For words longer than 9 unique letters this is "eh, it's 'okay'."
In a perfect world, we could have a dictionary in a sort of hash table:
NPC Code:
function anagrams( word )
sort letters in word;
calculate hashkey from letters;
return hashtable[hashkey];
TADAA