CindyLinz/Haskell-KMP

KMP jump table correctness

Opened this issue · 0 comments

Hi Cindy, from the build function, the pattern of "aabaabaaa" will produce array (-1,8) [(-1,-2),(0,-2),(1,0),(2,-2),(3,-2),(4,0),(5,-2),(6,-2),(7,4),(8,1)], is this the expected result?