Skip to content

Commit 2ab6743

Browse files
author
王鹏
committed
docs: add _112_hasPathSum
1 parent df0da65 commit 2ab6743

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# LeetCode-Java
22
## 说明
3-
- leetcode练习,坚持每天一道,目前已完成241道
3+
- leetcode练习,坚持每天一道,目前已完成242道
44
- 解题语言是Java
55
- 每道题都是可编译运行的
66
- 每道题有自己的方法和他人优秀解法
@@ -20,9 +20,9 @@
2020

2121
- [x] [110. 平衡二叉树 --Easy](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_110_isBalanced.java)
2222

23-
- [x] [111. 二叉树的最小深度](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_111_minDepth.java)
23+
- [x] [111. 二叉树的最小深度 --Easy](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_111_minDepth.java)
2424

25-
- [ ] [112. 路径总和 --Easy](https://leetcode-cn.com/problems/path-sum/)
25+
- [x] [112. 路径总和 --Easy](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_112_hasPathSum.java)
2626

2727
- [ ] [115. 不同的子序列 --Hard](https://leetcode-cn.com/problems/distinct-subsequences/)
2828

@@ -63,9 +63,9 @@
6363
- [线段树](https://leetcode-cn.com/tag/segment-tree/)(9)
6464
- [二叉搜索树](https://leetcode-cn.com/tag/binary-search-tree/)(15)
6565

66-
### 题目列表(更新中—已完成241
66+
### 题目列表(更新中—已完成242
6767

68-
[Leetcode-Java(240+题解,持续更新、欢迎star&留言&交流)](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_111_minDepth.java)
68+
[Leetcode-Java(240+题解,持续更新、欢迎star&留言&交流)](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_112_hasPathSum.java)
6969

7070
| No | 题目 | 解决方案 | 相关话题 | 难度 | 备注 |
7171
| ----- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------ | ------------------------------------------------------------ |
@@ -180,6 +180,7 @@
180180
| #109 | [有序链表转换二叉搜索树](https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree/) | [SortedListToBST](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_109_sortedListToBST.java) | [DFS](https://leetcode-cn.com/tag/depth-first-search/)[链表](https://leetcode-cn.com/tag/linked-list/) | Medium | |
181181
| #110 | [平衡二叉树](https://leetcode-cn.com/problems/balanced-binary-tree/) | [IsBalanced](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_110_isBalanced.java) | [](https://leetcode-cn.com/tag/tree/)[DFS](https://leetcode-cn.com/tag/depth-first-search/) | Easy | |
182182
| #111 | [二叉树的最小深度](https://leetcode-cn.com/problems/minimum-depth-of-binary-tree/) | [MinDepth](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_111_minDepth.java) | [](https://leetcode-cn.com/tag/tree/)[DFS](https://leetcode-cn.com/tag/depth-first-search/) | Easy | |
183+
| #112 | [路径总和](https://leetcode-cn.com/problems/path-sum/) | [HasPathSum](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_112_hasPathSum.java) | [](https://leetcode-cn.com/tag/tree/)[DFS](https://leetcode-cn.com/tag/depth-first-search/) | Easy | |
183184
| #113 | [路径总和 II](https://leetcode-cn.com/problems/path-sum-ii/) | [PathSum](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_113_pathSum.java) | [](https://leetcode-cn.com/tag/tree/)[DFS](https://leetcode-cn.com/tag/depth-first-search/) | Medium | |
184185
| #114 | [二叉树展开为链表](https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list/) | [Flatten](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_114_flatten.java) | [](https://leetcode-cn.com/tag/tree/)[DFS](https://leetcode-cn.com/tag/depth-first-search/) | Medium | |
185186
| #120 | [三角形最小路径和](https://leetcode-cn.com/problems/triangle/) | [MinimumTotal](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_120_minimumTotal.java) | [数组](<https://leetcode-cn.com/tag/array/>)[动态规划](<https://leetcode-cn.com/tag/dynamic-programming/>) | Medium | |

0 commit comments

Comments
 (0)