Skip to content

Commit

Permalink
Merge pull request youngyangyang04#909 from ccqstark/master
Browse files Browse the repository at this point in the history
Update 0669.修剪二叉搜索树.md
  • Loading branch information
youngyangyang04 authored Nov 19, 2021
2 parents 6598443 + 0a31eaa commit efa673e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion problems/0669.修剪二叉搜索树.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ if (root->val < low) {
root->left = trimBST(root->left, low, high);
```
此时节点3的右孩子就变成了节点2,将节点0从二叉树中移除了。
此时节点3的左孩子就变成了节点2,将节点0从二叉树中移除了。
最后整体代码如下:
Expand Down

0 comments on commit efa673e

Please sign in to comment.