mirror of
https://github.com/SunnyQjm/algorithm-homework.git
synced 2026-10-05 01:15:36 +08:00
update
This commit is contained in:
1 parent
3ea057798d
commit
39cd412de6
1 file changed
+4
-4
@@ -91,13 +91,13 @@ Leetcode: 235, 110, 257
|
||||
- **算法思路:**
|
||||
|
||||
1. 直接使用递归进行深度搜索;
|
||||
2. 一旦检索到一个叶子节点,就将当前遍历的路径添加到结果当中。
|
||||
|
||||
- **Leetcode提交结果:**
|
||||
2. 一旦检索到一个叶子节点,就将当前遍历的路径添加到结果当中。
|
||||
|
||||
- **Leetcode提交结果:**
|
||||
|
||||

|
||||
|
||||
- **代码:**
|
||||
- **代码:**
|
||||
|
||||
```python
|
||||
class Solution(object):
|
||||
|
||||
Reference in new issue
Block a user