直接这样有什么bug吗,return Math.max(root.val,Math.max(findMaxHeight(root.left),findMaxHeight(root.right)));
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务