mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-20 22:17:09 +08:00
Update tree.md
This commit is contained in:
parent
a6ff4563c6
commit
d6ab73bfa8
@ -176,8 +176,8 @@ public void postOrder(TreeNode root){
|
|||||||
if(root == null){
|
if(root == null){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
postOrder(root.left);
|
|
||||||
postOrder(root.right);
|
postOrder(root.right);
|
||||||
|
postOrder(root.left);
|
||||||
system.out.println(root.data);
|
system.out.println(root.data);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user