摘要: 1、给定一个二叉树,找出其最大深度。 注:二叉树的深度为根节点到最远叶子节点的最长路径上的节点数。 /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * Tre 阅读全文
posted @ 2019-09-14 21:54 jet-software 阅读(330) 评论(0) 推荐(0) 编辑