Trie from collection of patterns

Sign in to test your solution.