prep icon indicating copy to clipboard operation
prep copied to clipboard

exercise 10

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

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

GoogleCodeExporter avatar Mar 13 '15 12:03 GoogleCodeExporter