adplus-dvertising
frame-decoration

Question

The post order traversal of a binary tree is DEBFCA. Find out the pre order traversal

a.

ABFCDE

b.

ADBFEC

c.

ABDECF

d.

ABDCEF

Answer: (c).ABDECF

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The post order traversal of a binary tree is DEBFCA. Find out the pre order traversal

Similar Questions

Discover Related MCQs

Q. In a binary tree, certain null entries are replaced by special pointers which point to nodes higher in the tree for efficiency. These special pointers are called

Q. The in order traversal of tree will yield a sorted listing of elements of tree in

Q. In a Heap tree

Q. Let T be a binary search tree with 15 nodes. The minimum and maximum possible heights of T are:

Note: The height of a tree with a single node is 0.

Q. Let T be a tree with 10 vertices. The sum of the degrees of all the vertices in T is _____.

Q. B Trees are generally

Q. If a node having two children is deleted from a binary tree, it is replaced by its

Q. A full binary tree with 2n+1 nodes contain

Q. If a node in a BST has two children, then its inorder predecessor has

Q. A binary tree in which if all its levels except possibly the last, have the maximum number of nodes and all the nodes at the last level appear as far left as possible, is known as

Q. A full binary tree with n leaves contains

Q. The number of different directed trees with 3 nodes are

Q. One can convert a binary tree into its mirror image by traversing it in

Q. A B-tree of minimum degree t can maximum _____ pointers in a node.

Q. A BST is traversed in the following order recursively: Right, root, left. The output sequence will be in

Q. The pre-order and post order traversal of a Binary Tree generates the same output. The tree can have maximum

Q. A binary tree of depth ā€œdā€ is an almost complete binary tree if

Q. What is the maximum possible number of nodes in a binary tree at level 6?

Q. How many nodes in a tree have no ancestors.

Q. In order to get the contents of a Binary search tree in ascending order, one has to traverse it in