【leetcode筆記】Python實現 208. Implement Trie (Prefix Tree)

題目地址:https://leetcode.com/problems/implement-trie-prefix-tree/description/ 題目描述 Implement a trie with insert, search, and startsWith methods. Example: Trie trie = new Trie(); trie.insert("apple"); tr
相關文章
相關標籤/搜索