Skip to content

Commit 4e12b76

Browse files
Merge pull request youngyangyang04#2522 from skylarkkk/master
Update 二叉树的递归遍历.md python代码少了关键一句
2 parents c5250fa + 956c44d commit 4e12b76

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

problems/二叉树的递归遍历.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ class Solution:
189189
res.append(node.val)
190190
dfs(node.left)
191191
dfs(node.right)
192-
193192
dfs(root)
194193
return res
195194

@@ -207,7 +206,6 @@ class Solution:
207206
dfs(node.left)
208207
res.append(node.val)
209208
dfs(node.right)
210-
211209
dfs(root)
212210
return res
213211
```

0 commit comments

Comments
 (0)