A substring is continuous, whereas a subsequence is discontinuous. alevela is a palindromic subsequence, and not a substring.
On Thu, Aug 19, 2010 at 11:45 AM, Saikat Debnath <[email protected]>wrote: > Isn't the longest palindromic substring is alevela??? > > On Aug 19, 7:16 pm, Nikhil Jindal <[email protected]> wrote: > > Hi All, > > > > Givan a string, you have to find the longest palindromic substring. > > For ex: Longest Palindromic substring for abclevelabc is level. > > > > What is the most optimised solution possible? > > > > Please access the attached hyperlink for an important electronic > communications disclaimer: > http://dce.edu/web/Sections/Standalone/Email_Disclaimer.php > > -- > 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.
