mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-08 00:43:04 +08:00
fix: Correct function type
This commit is contained in:
@ -298,7 +298,7 @@ class Solution:
|
||||
return self.traversal(root, p, q)
|
||||
```
|
||||
|
||||
迭代法(版本二)精简
|
||||
递归法(版本二)精简
|
||||
```python
|
||||
class Solution:
|
||||
def lowestCommonAncestor(self, root, p, q):
|
||||
|
Reference in New Issue
Block a user