1.

An expression tree is created using?(a) postfix expression(b) prefix expression(c) infix expression(d) paranthesized expressionThis is a very interesting question from Trees in portion Trees of Data Structures & Algorithms IThis question was posed to me in an interview for internship.

Answer»

The correct CHOICE is (a) postfix expression

For explanation: A postfix expression is CONVERTED into an expression TREE by READING one symbol at a TIME and constructing a tree respectively.



Discussion

No Comment Found

Related InterviewSolutions