Getting WA

Revision en1, by wh1te_whale, 2020-05-06 10:51:31

I am solving some string problems and recently encountered this problem Text Editor.

I am creating a new string and then I am calculating the Z array for that string. I am getting WA, and since it's a GYM problem, I am not able to know whether I am looking in the right direction.I can not find any Editorial for the same. Can you provide some idea to solve it? The link to my Solution.

Tags #wronganswer, #string

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English wh1te_whale 2020-05-06 10:51:31 476 Initial revision (published)