diff --git a/problems/0235.二叉搜索树的最近公共祖先.md b/problems/0235.二叉搜索树的最近公共祖先.md index b691a45a..2a11f9f4 100644 --- a/problems/0235.二叉搜索树的最近公共祖先.md +++ b/problems/0235.二叉搜索树的最近公共祖先.md @@ -298,7 +298,7 @@ class Solution: return self.traversal(root, p, q) ``` -迭代法(版本二)精简 +递归法(版本二)精简 ```python class Solution: def lowestCommonAncestor(self, root, p, q):