摘要:
647. 回文子串 1. 题目描述 来源: https://leetcode-cn.com/problems/palindromic-substrings/ 2. 思路 2.1 中心拓展 对于s中任何一个字符s[i],均有可能是一个回文子串的中心位置,因此可以以s[i]为着手点,同时向两边发散,若左 阅读全文
647. 回文子串 1. 题目描述 来源: https://leetcode-cn.com/problems/palindromic-substrings/ 2. 思路 2.1 中心拓展 对于s中任何一个字符s[i],均有可能是一个回文子串的中心位置,因此可以以s[i]为着手点,同时向两边发散,若左 阅读全文
posted @ 2021-10-23 16:53
滔特特
阅读(48)
评论(0)
推荐(0)
浙公网安备 33010602011771号