摘要:
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ #define neg -10000 struct Node { int val1; int val2; Node():val1(neg),val2(neg){}; }; class Solution {public... 阅读全文
摘要:
http://www.cnblogs.com/miloyip/archive/2010/02/25/1673114.html 阅读全文