每日LeetCode - 28. 实现 strStr()(C语言和Python 3)
时间:2021-05-24 05:52:47
收藏:0
阅读:0
C语言
Python 3
class Solution: def strStr(self, haystack: str, needle: str) -> int: return haystack.find(needle)
评论(0)