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:
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.