在 KMP 算法中,对于模式串 P=abacabaP = \tt{abacaba},其 next 数组(next[i] 定义为模式串 P[0..i]P[0..i] 最长公共前后缀的长度,且数组下标从 0 开始)的值是什么?

填写答案