摘要: 最长回文串 题目 解析 ASCⅡ表有256个位。 class Solution { public int longestPalindrome(String s) { int[] cnts = new int[256]; for (char c : s.toCharArray()) { cnts[c] 阅读全文
posted @ 2020-11-12 20:41 CPJ31415 阅读(107) 评论(0) 推荐(0)