Skip to content

Commit d072d82

Browse files
authored
Maximum Depth of Binary Tree
1 parent 49419ed commit d072d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

104-maximum-depth-of-binary-treemaximum-depth-of-binary-tree.py renamed to 104-maximum-depth-of-binary-tree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ class Solution(object):
2626
def maxDepth(self, root):
2727
if root == None:
2828
return 0
29-
return 1 + max(self.maxDepth(root.left), self.maxDepth(root.right))
29+
return 1 + max(self.maxDepth(root.left), self.maxDepth(root.right))

0 commit comments

Comments
 (0)