摘要: public class 平衡二叉树{ public class TreeNode { TreeNode left; TreeNode right; int val; TreeNode(int x) { this.val = x; } } // 获取深度 private int getDepth(T 阅读全文
posted @ 2017-05-28 12:03 qingtianBKY 阅读(894) 评论(0) 推荐(0) 编辑