What is the value of the following prefix expression? * + 3 - 4 2 / - 8 5 - + 4 2 5
-15
10
15
5
What is common in three different types of traversals (Inorder, Preorder and Postorder)?
Root is visited before right subtree
Left subtree is always visited before right subtree
Root is visited after left subtree
All of the above
0
2
4
6
12
30
15
25
The inorder and preorder traversal of a binary tree are d b e a f c g and a b d e c f g, respectively. The postorder traversal of the binary tree is:
D e b f g c a
E d b g f c a
E d b g f c a
E d b g f c a
{"name":"Algorithms", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is the value of the following prefix expression? * + 3 - 4 2 \/ - 8 5 - + 4 2 5","img":"https://cdn.poll-maker.com/20-796173/screen-shot-2017-08-13-at-9-34-31-pm.png?sz=1200"}