摘要:
递归,dfs这里返回值是一个pair,first表示两个子树的不经过当前root的最大pathsum;second表示两个子树的,以root->left和root->right为路径起始节点的路径的最大值 1 /** 2 * Definition for binary tree 3 * stru... 阅读全文
posted @ 2014-09-07 18:55
canexjtuzju
阅读(142)
评论(0)
推荐(0)