Update 0028.实现strStr.md
This commit is contained in:
parent
1fbd900c6a
commit
995028d7c4
|
|
@ -780,7 +780,7 @@ class Solution:
|
|||
class Solution:
|
||||
def strStr(self, haystack: str, needle: str) -> int:
|
||||
return haystack.find(needle)
|
||||
|
||||
```
|
||||
|
||||
Go:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue