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 5cb3d98 commit bc801a8Copy full SHA for bc801a8
maximum-depth-of-binary-tree/daiyongg-kim.py
@@ -4,7 +4,6 @@ def maxDepth(self, root: Optional[TreeNode]) -> int:
4
if not root:
5
return 0
6
queue = deque([root])
7
- print(queue)
8
depth = 0
9
10
while queue:
0 commit comments