+1 vote
in Data Structures & Algorithms I by (88.2k points)
What is the postfix expression for the following expression tree?

(a) abcde++**

(b) ab+cde+**

(c) abc+de+**

(d) abcd+*e+*

This question is from Trees in portion Trees of Data Structures & Algorithms I

This question was posed to me in an international level competition.

1 Answer

+1 vote
by (672k points)
selected by
 
Best answer
Right answer is (b) ab+cde+**

Easy explanation - If the given expression tree is evaluated, the postfix expression ab+cde+** is obtained.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...