摘要: 题目标签:HashMap 题目给了我们一个array 的 root, 让我们把sentence 里面得每一个word 去掉它得 successor。 把每一个root 存入hash set,然后遍历sentence 里面得每一个 word, 从index 1 开始遍历 如果有找到这个root,就把这 阅读全文
posted @ 2019-04-21 00:54 Jimmy_Cheng 阅读(452) 评论(0) 推荐(0) 编辑