Jump to content

Anagrams: Difference between revisions

m
imported>Chinhouse
No edit summary
imported>Chinhouse
Line 5,291:
wordSets = {}
for word in wordList
keyk = makeKey(word)
if not wordSets.hasIndex(keyk) then
wordSets[keyk] = [word]
else
wordSets[keyk].push(word)
end if
end for
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.