hello_its_me's blog

By hello_its_me, 6 months ago, In English

Problem link

Hi there. Can anyone share how to solve this problem? I think it can be solved using Manacher algo but i just can't figure out how to do this optimally. If anyone has solved this using manacher or any other way please do share your idea here. I have tried for a lot of time but failed.

Thanks in advance.

  • Vote: I like it
  • -6
  • Vote: I do not like it

»
6 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Kindly check out my comment at CSES-String Section Blog