摘要: LeetCode参考:https://leetcode.cn/problems/longest-palindromic-substring/description/ 算法设计思路 回文串的性质:对于一个子串而言,如果它是回文串,并且长度大于 2 2 2,那么将它首尾的两个字母去除之后,它仍然是个回文 阅读全文
posted @ 2023-07-14 22:45 gengduc 阅读(13) 评论(0) 推荐(0) 编辑