[LeetCode] Problem 208 - Implement Trie (Prefix Tree)
Implement a trie with insert, search, and startsWith methods.
Example12345678Trie trie = new Trie();trie.insert("apple");trie.search("apple"); // re
...