Use suffix tree ... http://coders-stop.blogspot.com/2010/11/suffix-trees.html
On Dec 31 2010, 3:19 am, Anand <[email protected]> wrote: > http://anandtechblog.blogspot.com/2010/06/find-longest-palindromic-su... > > On Thu, Dec 30, 2010 at 1:10 PM, 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]<algogeeks%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/algogeeks?hl=en. -- 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.
