InterviewSolution
Saved Bookmarks
| 1. |
++a*bc*+defg is an?(a) postfix expression(b) infix expression(c) prefix expression(d) invalid expressionThe origin of the question is Trees in division Trees of Data Structures & Algorithms IThis question was addressed to me in homework. |
|
Answer» RIGHT choice is (c) prefix EXPRESSION The BEST I can explain: It is a prefix expression obtained from a PREORDER traversal since it is of the form operator-operand-operand. |
|