Consider the following expression tree. In-order, pre-order and post-order…
NVS Computer Science / IT Teacher Recruitment · Computer Science · 2022
Consider the following expression tree. In-order, pre-order and post-order traversal of this tree will result into which of the following expressions, respectively?

- A.
In-order: a + b c *
Pre-order: + a * b c
Post-order: a b c * + - B.
In-order: a b + * c
Pre-order: + a * b c
Post-order: a b c * + - C.
In-order: a + b * c
Pre-order: + a * b c
Post-order: a b c * + - D.
In-order: a * b + c
Pre-order: + a * b c
Post-order: a b c * +
Attempted by 1186 students.
Sign up free to check your answer
Sign up freeLoading lesson…