LongestPalindromicString