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 8ea2c0d commit 3e7e4f2Copy full SHA for 3e7e4f2
maximum-depth-of-binary-tree/jiji-hoon96.ts
@@ -26,4 +26,4 @@ function maxDepth(root: TreeNode | null): number {
26
27
// 현재 노드의 깊이는 왼쪽과 오른쪽 서브트리 중 더 깊은 것에 1을 더한 값
28
return Math.max(leftDepth, rightDepth) + 1;
29
-}
+}
0 commit comments