[leetcode] 5.Longest Palindromic Substring

Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.

 

class Solution {
public:
string longestPalindrome(string s) {

}
};

posted @ 2015-06-17 14:33  酷酷的门门  阅读(89)  评论(0编辑  收藏  举报