0
1.7kviews
Describe Expression Tree with an example
1 Answer
| written 7.6 years ago by | modified 7.6 years ago by |
An arithmetic expression such as (5-x)*y+6/(x + z) is a combination of arithmetic operators (+, -, *, /, etc.), operands (5, x, y, 6, z, etc.), and parentheses to override the precedence of operations.
Each expression can be represented by a unique binary tree whose structure is determined by the …