Skip to content

Commit 3629f00

Browse files
author
Joseph Luce
authored
Update 110_balanced_binary_tree.md
1 parent e1a5d73 commit 3629f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode/easy/110_balanced_binary_tree.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ class Solution:
2525
return -1
2626
return max(left+1, right+1) if abs(left-right) <= 1 else -1
2727
28-
return True if balance_helper(root) != -1 else False
28+
return balance_helper(root) != -1
2929
```

0 commit comments

Comments
 (0)