6,646 views
2 votes
2 votes

 

3 Answers

0 votes
0 votes
So, I came up with this conclusion :

Reverse of postorder → Converse preorder

Reverse of preorder → Converse postorder

Reverse of inorder → converse of inorder
0 votes
0 votes

The expression is given in reverse polish notation .it means that is in post order.

Reverse polish notation => post order traversal

Make a expression tree for above post order expression is

From above expression tree NEW ORDER TRAVERSAL is 11 17 16 * + 12 15 14 13 * - ^ –

 

( Above new traversal strategy is called CONVERSE POSTORDER . )

If  give traverse ROOT , RIGHT , LEFT => called  CONVERSE PREORDER

If give traverse RIGHT, LEFT, ROOT => called CONVERSE POSTORDER

 

0 votes
0 votes
Given expression is post-order traversal i.e. postfix. Hence make its syntax tree ( Left- Right- Root)

Now converse post-order traversal is root-right-left. Traverse in this manner and we will get option C as answer

Related questions

0 votes
0 votes
0 answers
1
Lakshman Bhaiya asked Oct 22, 2018
666 views
find the vertical sum of a binary tree. For example,the tree has 5 vertical lines?
0 votes
0 votes
0 answers
3
Na462 asked Jan 16, 2019
390 views
Consider a binary tree for every node | P - Q | <= 2. P represents number of nodes in left subtree of S and Q represents number of nodes in right subtree of S for h 0. T...
0 votes
0 votes
0 answers
4