Need help for a simple problem

Revision en1, by padfoot1717, 2020-06-18 18:50:26

Suppose we have a string and we want to find the longest palindromic subtring which is also a prefix of the original string. Is there any way to solve this problem faster than the bruteforce technique?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English padfoot1717 2020-06-18 18:50:26 231 Initial revision (published)