摘要: 28. 找出字符串中第一个匹配项的下标 KMP算法 1 class Solution { 2 public: 3 int strStr(string haystack, string needle) { 4 int* next = getNext(needle); 5 int j = 0; // j 阅读全文