●在KMP模式匹配算法中,需要求解模式串p的next函数值,其定义如下(其中,j为模式串中字符的序号)。对于模式串“abaabaca”,其next函数值序列为(57)。

<img src='https://img2.soutiyun.com/ask/uploadfile/4911001-4914000/280b25e5a2faff02b6234f91a95f6626.gif' /> (57) A. 01111111 B.01122341 C.01234567 D.01122334

时间:2023-03-16 15:11:08

相似题目