Update binary_tree.md (#1618)
* Update binary_tree.md * Update binary_tree.md Thank you for the fix! --------- Co-authored-by: Yudong Jin <krahets@163.com>
This commit is contained in:
parent
aa8a7f59d3
commit
4db90555a7
@ -493,6 +493,8 @@
|
||||
P->left = n2;
|
||||
// 删除节点 P
|
||||
n1->left = n2;
|
||||
// 释放内存
|
||||
delete P;
|
||||
```
|
||||
|
||||
=== "Java"
|
||||
@ -598,6 +600,8 @@
|
||||
P->left = n2;
|
||||
// 删除节点 P
|
||||
n1->left = n2;
|
||||
// 释放内存
|
||||
free(P);
|
||||
```
|
||||
|
||||
=== "Kotlin"
|
||||
|
Loading…
x
Reference in New Issue
Block a user