Store N words in a trie, but first you may reorder the letters of each word. What is the smallest possible trie?
Store N words in a trie, but first you may reorder the letters of each word. What is the smallest possible trie?
Opens with the full question.