diff --git a/problems/0028.实现strStr.md b/problems/0028.实现strStr.md index 271822dc..84ce7750 100644 --- a/problems/0028.实现strStr.md +++ b/problems/0028.实现strStr.md @@ -9,7 +9,7 @@ # 28. 实现 strStr() -[力扣题目链接](https://leetcode.cn/problems/implement-strstr/) +[力扣题目链接](https://leetcode.cn/problems/find-the-index-of-the-first-occurrence-in-a-string/) 实现 strStr() 函数。 @@ -699,7 +699,7 @@ class Solution(object): if haystack[i:i+n]==needle: return i return -1 -``` +``` ```python // 方法一 class Solution: