Possible Duplicate:
Write a function that returns the longest palindrome in a given string
For example, the given string is "google", then the longest symmetrical string is "goog",therefore the answer should be 4. Any fast algorithm to solve it?
Possible Duplicate:
Write a function that returns the longest palindrome in a given string
For example, the given string is "google", then the longest symmetrical string is "goog",therefore the answer should be 4. Any fast algorithm to solve it?