Skip to content

Commit 0eda990

Browse files
authored
Update validate-binary-tree-nodes.py
1 parent b671588 commit 0eda990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/validate-binary-tree-nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Time: O(n)
2-
# Space: O(h)
2+
# Space: O(n)
33

44
class Solution(object):
55
def validateBinaryTreeNodes(self, n, leftChild, rightChild):

0 commit comments

Comments
 (0)