标签:内存 ret tin return div int col pre style
同111题
class Solution(object): def maxDepth(self, root): """ :type root: TreeNode :rtype: int """ if not root: return 0 left = self.maxDepth(root.left) right = self.maxDepth(root.right) return max(left,right)+1
标签:内存 ret tin return div int col pre style
原文地址:https://www.cnblogs.com/taoyuxin/p/11865161.html