摘要: 给定一个字符串 s,找到 s 中最长的回文子串。 public static String longestPalindrome(String s) { //最大长度 int max=0; //最大长度的回文中心 int mi=0; //加#避免漏虚轴 char[] chars = addf(s); 阅读全文
posted @ 2020-09-01 15:22 kylinmac 阅读(154) 评论(0) 推荐(0)