Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fca3e47

Browse files
Merge pull request youngyangyang04#2431 from rosethorn999/patch
fix: Correct function type
2 parents eece253 + d15216c commit fca3e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎problems/0235.二叉搜索树的最近公共祖先.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ class Solution:
298298
return self.traversal(root, p, q)
299299
```
300300

301-
迭代法(版本二)精简
301+
递归法(版本二)精简
302302
```python
303303
class Solution:
304304
def lowestCommonAncestor(self, root, p, q):

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /