Quote:
Originally Posted by Tolnaftate2004
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
|
thats almost what i was looking for!