📜  inorder, PreOrder, PostOrder java 代码示例

📅  最后修改于: 2022-03-11 14:52:05.632000             🧑  作者: Mango

代码示例1
1
        2                3
4             5

//(a) Inorder (Left, Root, Right) : 4 2 5 1 3 
//(b) Preorder (Root, Left, Right) : 1 2 4 5 3 
//(c) Postorder (Left, Right, Root) : 4 5 2 3 1