The pre-order and in-order are traversals of a binary tree are T M L N P O Q and L M N T O P Q. Which of following is post-order traversal of the tree?
The pre-order and in-order are traversals of a binary tree are T M L N P O Q and L M N T O P Q. Which of following is post-order traversal of the tree? Correct Answer L N M O Q P T
The tree generated by using given pre-order and in-order traversal is Thus, L N M O Q P T will be the post-order traversal.