We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0245ab commit 071f547Copy full SHA for 071f547
1 file changed
โmaximum-depth-of-binary-tree/okyungjin.pyโ
@@ -78,4 +78,4 @@ def maxDepth(self, root: Optional[TreeNode]) -> int:
78
right_depth = self.maxDepth(root.right)
79
80
# ํ์ฌ ์์ ์ ๋ ธ๋ ํ๋๋ฅผ ๋ํด์ ์ต๋ ๊น์ด๋ฅผ ๋ฐํ
81
- return max(left_depth, right_depth) + 1
+ return max(left_depth, right_depth) + 1
0 commit comments