recategorized by
744 views
1 votes
1 votes
The postorder traversal of a binary search tree is $25, 33, 30, 35, 42, 48, 40, 60, 58, 50$. The inorder traversal of the same tree is $25, 30, 33, 35, 40, 42, 48, 50, 58, 60$. What is the length of the longest path from one leaf to another leaf. (Note: Length of longest path means total number of nodes present in that path).
recategorized by

1 Answer

0 votes
0 votes
After constructing binary search from postorder and inorder is
Applied Course 2019 Mock1-43
Total number of nodes $= 7$.
Answer:

Related questions

1 votes
1 votes
0 answers
2
Applied Course asked Jan 16, 2019
1,009 views
What is the maximum number of activation records inserted into stack while converting following infix expression to postfix expression is Infix expression: $\text{7+5*3^2...