News for hackers. Stuff that matters.
Re:Algorithms and Data Structures: Trie (Prefix tree) by ttub on Thursday November 10, 2016 @03:44AM (#12918747)
This problem also has an "infamous" and very simpe, elegant solution described in Programming Pearls:

"The idea is to give words that are anagrams a common signature, sort all the words together by their signatures, and then print them."

https://www.gnu.org/software/gawk/manual/html_node/Anagram-P...

There are no comments on this comment yet.