Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

inorder, PreOrder, PostOrder java

				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
 
PREVIOUS NEXT
Tagged: #PostOrder #java
ADD COMMENT
Topic
Name
1+1 =