Skip to main content

Damn Cool Algorithms, Part 3: Anagram Trees - Nick's blog

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

Bookmark History

Saved by 3 people (-1 private), first by anonymouse user on 2007-12-23


Public Sticky notes

However, with a little more effort, and the above observation that we can generate a histogram that uniquely represents a given set of letters, we can generate a tree structure that makes looking up subset anagrams much more efficient. To build the tree, we follow this simple procedure:

Highlighted by joel