class Solution(object):
    def strStr(self, haystack, needle):
        """
        :type haystack: str
        :type needle: str
        :rtype: int
        """
        return haystack.find(needle)
        

 

相关文章:

  • 2021-08-24
  • 2022-01-28
  • 2021-10-09
  • 2021-06-10
  • 2022-01-14
  • 2021-12-14
猜你喜欢
  • 2022-01-16
  • 2021-06-21
  • 2021-08-08
  • 2021-09-02
  • 2021-05-30
  • 2021-05-28
相关资源
相似解决方案