Skip to content

Commit

Permalink
Merge pull request youngyangyang04#2431 from rosethorn999/patch
Browse files Browse the repository at this point in the history
fix: Correct function type
  • Loading branch information
youngyangyang04 authored Feb 11, 2024
2 parents eece253 + d15216c commit fca3e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion problems/0235.二叉搜索树的最近公共祖先.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ class Solution:
return self.traversal(root, p, q)
```

迭代法(版本二)精简
递归法(版本二)精简
```python
class Solution:
def lowestCommonAncestor(self, root, p, q):
Expand Down

0 comments on commit fca3e47

Please sign in to comment.