2014年2月25日

tree 中 最可能大的路径

摘要: public class Solution1 { int sum = 0; public int hightvalue(Node root){ if(root == null) return 0; if(root.left == null && root.right == null) return 1; int left = hightvalue(root.left); int right = hightvalue(root.right); sum = sum ... 阅读全文

posted @ 2014-02-25 11:29 brave_bo 阅读(233) 评论(0) 推荐(0)

导航