Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c62d518

Browse files
fix bug
1 parent adac0c7 commit c62d518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎problems/0701.二叉搜索树中的插入操作.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ class Solution:
279279
root.right = self.insertIntoBST(root.right, val)
280280

281281
# 返回更新后的以当前root为根节点的新树
282-
return roo
282+
return root
283283
```
284284

285285
**递归法** - 无返回值

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /