Merge pull request #1301 from FizzerYu/patch-1

修正了一个小错误
This commit is contained in:
程序员Carl
2022-05-27 10:13:15 +08:00
committed by GitHub

View File

@ -279,7 +279,7 @@ class Solution:
root.right = self.insertIntoBST(root.right, val) root.right = self.insertIntoBST(root.right, val)
# 返回更新后的以当前root为根节点的新树 # 返回更新后的以当前root为根节点的新树
return roo return root
``` ```
**递归法** - 无返回值 **递归法** - 无返回值