Implement Trie (Prefix Tree)
摘要:
Implement a trie withinsert,search, andstartsWithmethods.Note:You may assume that all inputs are consist of lowercase lettersa-z.由于用的是 26位字母的array, 所以... 阅读全文
posted @ 2015-05-08 12:44 Step-BY-Step 阅读(211) 评论(0) 推荐(0) 编辑