Github地址 LeetCode-5 最长回文子串:https://github.com/JacobLei/leetcode/blob/master/src/main/java/A5_LongestPalindromicSubstring.java
1 <= s.length <= 1000 s 仅由数字和英文字母(大写和/或小写)组成
Leetcode-5 最长回文子串 原题链接 https://leetcode-cn.com/problems/longest-palindromic-substring/ func longestPalindrome
我们在LeetCode-5 最长回文子串中介绍过回文串,即从左向右读和从右向左读的结果是一样的字符串。