
leetcode
new boy();
喜欢hub,但不限于git开头
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leetcode 第十四题的简单算法分析(英文)
14th question from LeetCodepublic String longestCommonPrefix(String[] strs) { if (strs == null || strs.length == 0) { return ""; } String carry = ""; carry...原创 2019-09-23 22:42:01 · 272 阅读 · 0 评论 -
leetcode第四十题解析(回溯法)
先粘代码几个关键地方加了备注应该挺可读的class Solution { public void backtrack(int n, ArrayList<Integer> nums, List<List<Integer>> result, int flag) { if (flag == n) //溯回次数到达数字...原创 2019-09-28 13:02:10 · 207 阅读 · 0 评论