Tree Properties & Traversals

Answer & solution
Official answer: C
Step through it (15 steps)
The postfix expression gives root subtraction with left subtree((3*4)−5)2 and right subtree(6*7)+1. Root-right-left order visits −, then + 1 * 7 6, then ^ 2 − 5 * 4 3. Thus − + 1 * 7 6 ^ 2 − 5 * 4 3, C.
Build the tree with a stack: push operands; for an operator pop the right child first, then the left child. The final minus combines the two large subexpressions. Reversing child visits does not exchange the operands in the original expression; it changes only traversal order. In particular the right multiplication is visited * 7 6, excluding B.