208. Implement Trie (Prefix Tree)

Implement a trie with insert, search, and startsWith methods.spa Note:字符串 You may assume that all inputs are consist oflowercase letters a-z.input 題義:it 實做一個trie樹,有插入(insert)、搜索(search)與從前綴搜索(startsWi
相關文章
相關標籤/搜索