摘要: Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Example 1: Example 2: 使用K 阅读全文
posted @ 2018-03-11 12:52 immjc 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1、字符串包含问题 1)串的模式匹配算法 (LintCode:字符串查找) BF KMP 阅读全文
posted @ 2018-03-11 12:32 immjc 阅读(138) 评论(0) 推荐(0) 编辑