摘要: 第五章 字符串(二) 5.2 单词查找树 API中添加了以下三个方法: public class StringST<Value> String longestPrefixOf(String s) s的前缀中最长的键 Iterable<String> keysWithPrefix(String s) 阅读全文
posted @ 2021-02-22 23:16 一天到晚睡觉的鱼 阅读(79) 评论(0) 推荐(0)
摘要: 39. 组合总和 题目链接 dfs class Solution { List<List<Integer>> ans; public List<List<Integer>> combinationSum(int[] candidates, int target) { ans = new ArrayL 阅读全文
posted @ 2021-02-22 10:19 一天到晚睡觉的鱼 阅读(45) 评论(0) 推荐(0)