摘要: 1. check children is null or not. 阅读全文
posted @ 2016-06-30 06:50 keepshuatishuati 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1 class TrieNode { 2 // Initialize your data structure here. 3 TrieNode[] children = new TrieNode[26]; 4 boolean isWord; 5 public TrieNode() { 6 } 7 } 8 9 public class T... 阅读全文
posted @ 2016-06-30 06:04 keepshuatishuati 阅读(144) 评论(0) 推荐(0) 编辑