Example 5.4.3 Binary Trees


PRACTICE EXERCISES

Binary trees are used in computer science to represent algebraic expressions with arbitrary nesting of balanced parentheses, as was shown earlier in the Algebraic Expression Tree example.

Try to draw a binary tree which represents (x + y) / (z - w).