• edited by
11,252 views

3 Answers

Best answer
28 28 votes

The answer is A.

Take the first node in preorder traversal - a will be the root of the tree
All nodes to the left of '$a$' in inorder traversal will be in the left subtree of '$a$' and all elements on the right will be in the right subtree of '$a$'. 
Take the second element from preorder traversal - '$b$' - goes to left subtree of '$a$' as it is in the left of '$a$' in inorder list. 
Proceeding likewise we can construct the binary tree as:

• edited by
3 3 votes
Firstly we have to find Binary tree from inorder and preorder then we can find postorder

debfgca option A is right
2 2 votes

Answer Is Option(A)

see the below explanation

Answer:
Position:
Show:

Related questions

0 0 votes
2 2 answers
2.2k
2.2k views
Misbah Ghaya asked Jul 9, 2016
2,209 views
Which of the following concurrency protocol ensues both conflict serializability and freedom from deadlock:$2$-phase lockingTime phase orderingBoth I & IIII onlyI onlyNei...
36 36 votes
4 answers 4 answers
14.2k
14.2k views
Kathleen asked Sep 21, 2014
14,169 views
Consider the following C program segment where $\text{CellNode}$ represents a node in a binary tree:struct CellNode { struct CellNode *leftChild; int element; struct Cell...
39 39 votes
4 answers 4 answers
41.0k
41.0k views
Kathleen asked Sep 21, 2014
40,953 views
The maximum number of binary trees that can be formed with three unlabeled nodes is:$1$$5$$4$$3$
124 124 votes
8 answers 8 answers
44.6k
44.6k views
Kathleen asked Sep 21, 2014
44,596 views
Which one of the following statements is $\text{FALSE}$?Any relation with two attributes is in $\text{BCNF}$A relation in which every key has only one attribute is in $\t...