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 Which of following is post-order traversal of the tree?
A. L N M O Q P T
B. N M O P O L T
C. L M N O P Q T
D. O P L M N Q T
Answer:A
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 Which of following is post-order traversal of the tree?
A. L N M O Q P T B. N M O P O L T C. L M N O P Q T D. O P L M N Q T