摘要: Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.求一字符串在另一字符串中第一次出现的位置class Solution(object): def strStr(self, haystack, ne... 阅读全文
posted @ 2017-08-02 23:18 xiejunzhao 阅读(128) 评论(0) 推荐(0)