prep
prep copied to clipboard
exercise 10
int treeSum(TreeNode * node) {
if( ! node ) return 0;
return node->value += treeSum(node->left) + treeSum(node->right);
}
Original issue reported on code.google.com by [email protected] on 13 Jul 2012 at 6:15