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 fa7a304 commit a7e9cadCopy full SHA for a7e9cad
maximum-depth-of-binary-tree/Jeehay28.js
@@ -34,4 +34,5 @@ var maxDepth = function (root) {
34
35
// Return the maximum of the two depths plus 1 for the current node
36
return Math.max(leftDepth, rightDepth) + 1;
37
-};
+};
38
+
0 commit comments