7.7.6. Binary Tree Sum Nodes Exercise
Source
https://opendsa-server.cs.vt.edu/ODSA/Books/CS3/html/BinaryTreeInfFlw.html#binary-tree-sum-nodes-exercise
https://opendsa-server.cs.vt.edu/ODSA/Books/CS3/html/BinaryTreeInfFlw.html#binary-tree-sum-nodes-exercise
X283: Binary Tree Sum Nodes Exercise
Write a recursive function
int BTsumall(BinNode root) that returns the sum of the values for all of the nodes of the binary tree with root root. Here are methods that you can use on the BinNode objects:
----