摘要: QuestionDesign a data structure that supports the following two operations:void addWord(word)bool search(word)search(word) can search a literal word o... 阅读全文
posted @ 2015-10-13 10:20 树獭君 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Question Implement a trie with insert, search, and startsWith methods. Note:You may assume that all inputs are consist of lowercase letters a-z. Solut 阅读全文
posted @ 2015-10-13 07:53 树獭君 阅读(204) 评论(0) 推荐(0) 编辑