Use suffix tree ...
http://coders-stop.blogspot.com/2010/11/suffix-trees.html

On Dec 31 2010, 3:19 am, Anand <anandut2...@gmail.com> wrote:
> http://anandtechblog.blogspot.com/2010/06/find-longest-palindromic-su...
>
> On Thu, Dec 30, 2010 at 1:10 PM, Aniket <aniket...@gmail.com> 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 algoge...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
> > .
> > 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 algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to