We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1a5d73 commit 3629f00Copy full SHA for 3629f00
leetcode/easy/110_balanced_binary_tree.md
@@ -25,5 +25,5 @@ class Solution:
25
return -1
26
return max(left+1, right+1) if abs(left-right) <= 1 else -1
27
28
- return True if balance_helper(root) != -1 else False
+ return balance_helper(root) != -1
29
```
0 commit comments