http://qs321.pair.com?node_id=383163


in reply to Re: Finding longest palindrome from a string
in thread Finding longest palindrome from a string

You don't appear to have catered for the 'aba' situation? Ie. Where the palindrome is symetrical around a single central character.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon