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
相關文章
相關標籤/搜索