摘要: Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.分析这就是字符串匹配算法算法一:brute forcetime complexity: O(nm)space complexity: O(1)12345... 阅读全文
posted @ 2017-01-17 22:27 copperface 阅读(152) 评论(0) 推荐(0) 编辑