Manacher's algorithm does. I think it's a variant of Z algorithm. On Dec 31 2010, 5:10 am, Aniket <[email protected]> wrote: > How do you find the longest palindrome in a given string in O(n) time?
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
