随笔分类 - Trie
摘要:Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters of sequentially adja
阅读全文
摘要:Design a data structure that supports the following two operations: void addWord(word) bool search(word) search(word) can search a literal word or a r
阅读全文