Fix the codes of backtracking.

This commit is contained in:
krahets
2023-04-16 05:14:15 +08:00
parent 3d4fb3dbd7
commit 1600ed6dee
3 changed files with 0 additions and 5 deletions

View File

@ -23,7 +23,6 @@ def pre_order(root: TreeNode) -> None:
pre_order(root.right)
# 回退
path.pop()
return
"""Driver Code"""