一个字符串中最长回文子串

Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 一般最长回文子串的理解为,正读和反读是一样的,换一种理解方式就是关于中间对称的,第二种理解更容易对算法产生理解 class Solution {     public
相关文章
相关标签/搜索