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