摘要: https://leetcode.com/problems/word-search/class Solution {public: struct Trie{ Trie *next[57]; bool isWord; Trie() { ... 阅读全文
posted @ 2015-11-10 11:00 流白 阅读(487) 评论(0) 推荐(0) 编辑
摘要: Trie 树模板https://leetcode.com/problems/implement-trie-prefix-tree/class TrieNode {public: char var; bool isWord; TrieNode *next[26]; TrieNo... 阅读全文
posted @ 2015-11-10 10:58 流白 阅读(186) 评论(0) 推荐(0) 编辑