...
Question 1872 – Binary-Trees
April 23, 2024
Question 8591 – Binary-Trees
April 23, 2024
Question 1872 – Binary-Trees
April 23, 2024
Question 8591 – Binary-Trees
April 23, 2024

Question 243 – Binary-Trees

Consider the following tree

If the post order traversal gives ab-cd*+ then the label of the nodes 1,2,3,… will be

Correct Answer: A

Question 86 Explanation: 
Step-1: Post order traversals yields from left,right and root.

Step-2: The post order sequence is 4526731. The same we have to take it for above constraint.
Step-3: Then the sequence will be ab–cd*+ because 1= +, 2= -, 3= *, 4= a, 5=b, 6=c and 7=d.
A
+,-,*,a,b,c,d
B
a,-,b,+,c,*,d
C
a,b,c,d,-,*,+
D
-,a,b,+,*,c,d
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!