KMP problem.

Revision en1, by coder_1560, 2017-02-22 08:39:10

Hello, CF.

I was working on this problem. I know that this problem uses some variation of KMP to solve it. However I can't think of a linear time algorithm for it. Any help will be appreciated. Thanks.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English coder_1560 2017-02-22 08:39:10 248 Initial revision (published)