Skip to content

Commit 5f1ab07

Browse files
authored
Update 236.lowest-common-ancestor-of-a-binary-tree.md
1 parent 7098de2 commit 5f1ab07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/236.lowest-common-ancestor-of-a-binary-tree.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class Solution:
138138
**复杂度分析**
139139

140140
- 时间复杂度:$O(N)$
141-
- 空间复杂度:$O(N)$
141+
- 空间复杂度:$O(Height)$
142142

143143
## 扩展
144144

0 commit comments

Comments
 (0)