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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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