欢迎来到牛牛题库网 牛牛题库官网
logo

单项选择题

In the KMP algorithm, when a comparison fails at P[j] (the jth character of the pattern string P), the next aligned position would be
KMP算法的过程中,若某次比对在模式串P的第j个位置P[j]处失败,则将对齐位置换为:

A.prev[j]
B.next[j]
C.prev[j] + 1
D.next[j] + 1
点击查看答案
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题