leetcode28. Implement strStr() (以及我的对KMP算法理解)

kmp算法标准板子题html class Solution { public: vector<int> getNext(string needle) { vector<int> next(needle.length()); int k = -1 ; int j = 0; next[0] = -1; wh
相关文章
相关标签/搜索