in reply to Anagrams & Letter Banks
The %word hash will have normalized words (i.e. with letters put in alphabetic orders) or signatures as keys, and for each such key, will contain an anonymous array of the original words that were translated into this signature. In other words, if an array in the hash or arrays has more than one entry, then it means that two or more words matched the normalized signature and that we have an anagram.
I hope this makes it clearer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Anagrams & Letter Banks
by dominick_t (Acolyte) on Oct 27, 2017 at 19:40 UTC | |
by Laurent_R (Canon) on Oct 27, 2017 at 21:43 UTC |