Skip to content

Commit 29f8dad

Browse files
committed
Update balanced-binary-tree.py
1 parent a0657c7 commit 29f8dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/balanced-binary-tree.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(logn)
2+
# Space: O(h), h is height of binary tree
33
#
44
# Given a binary tree, determine if it is height-balanced.
55
#

0 commit comments

Comments
 (0)