mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-26 20:04:47 +08:00
Fix the codes of backtracking.
This commit is contained in:
@ -23,7 +23,6 @@ def pre_order(root: TreeNode) -> None:
|
||||
pre_order(root.right)
|
||||
# 回退
|
||||
path.pop()
|
||||
return
|
||||
|
||||
|
||||
"""Driver Code"""
|
||||
|
Reference in New Issue
Block a user