1.

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 IThis question was posed to me in an international level competition.

Answer» RIGHT answer is (b) ab+cde+**

Easy explanation - If the GIVEN expression tree is evaluated, the POSTFIX expression ab+cde+** is OBTAINED.


Discussion

No Comment Found

Related InterviewSolutions