Update 0028.实现strStr.md

This commit is contained in:
jianghongcheng
2023-05-06 19:49:19 -05:00
committed by GitHub
parent 995028d7c4
commit e8b4db9d7a

View File

@ -780,6 +780,7 @@ class Solution:
class Solution:
def strStr(self, haystack: str, needle: str) -> int:
return haystack.find(needle)
```
Go