二叉树之 二叉树深度 // 获取最大深度 public static int getMaxDepth(TreeNode root) { if (root == null) return 0; else { int left … 继续阅读 二叉树之 二叉树深度