To find the New-order traversal, first construct the binary expression tree from the reverse Polish (postfix) expression: 3 4 * 5 - 2 ^ 6 7 * 1 + -.
3, 4, *⟹(∗ with left 3, right 4)
5, -⟹(− with left (∗ 3 4), right 5)
2, ^⟹( with left (−…5), right 2)
6, 7, *⟹(∗ with left 6, right 7)
1, +⟹(+ with left (∗ 6 7), right 1)
- ⟹(− with left (…2), right (+…1))
The root of the expression tree is -.
Left subtree:( with left (− (∗ 3 4) 5) and right 2)
Right subtree:(+ with left (∗ 6 7) and right 1)
Now, perform the New-order traversal (Root → Right → Left):
Visit Right Subtree (+ (* 6 7) 1):
Left: (* 6 7) ⟹ Root: *, Right: 7, Left: 6⟹∗ 7 6
Result for right subtree: + 1 * 7 6
Visit Left Subtree (^ (- (* 3 4) 5) 2):
Left: (- (* 3 4) 5) ⟹ Root: -, Right: 5, Left: (* 3 4) ⟹ Root: *, Right: 4, Left: 3⟹∗ 4 3
Result for left subtree: ^ 2 - 5 * 4 3
Concatenating these gives:
− + 1 ∗ 7 6 ^ 2 − 5 ∗ 4 3 This matches option C.