What is the total number of nodes (both interior and leaf nodes) in the parse tree for the following λ expression?
Remember to count all leaf nodes, including one node for each λ and one node for each dot.
There is also one node for each left parenthesis and one node for each right parenthesis.
There is also one leaf node for each variable, in addition to the interior node for the non-terminal <var>.
After you have built enough parse trees, you should notice patterns that allow you to answer this question without building a parse tree.