1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-20 22:17:09 +08:00

Merge pull request #2023 from wuliaojizhi/patch-1

Update tree.md
This commit is contained in:
Guide 2023-05-18 17:43:53 +08:00 committed by GitHub
commit f1e2d0592f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
} }
``` ```