(self, root: TreeNode)
| 11 | # self.right = right |
| 12 | class Solution: |
| 13 | def maxDepth(self, root: TreeNode) -> int: |
| 14 | if root is None: |
| 15 | return 0 |
| 16 | else: |
| 17 | return max(self.maxDepth(root.left)+1, self.maxDepth(root.right)+1) |
nothing calls this directly
no outgoing calls
no test coverage detected