5. Longest Palindromic Substring
647. Palindromic Substrings
解法一:从中心一点向两边扩展,需要考虑中心为一点,中心为两点。
解法二:马拉车算法
原文地址:https://www.cnblogs.com/AntonioSu/p/11830797.html
时间: 2024-08-20 04:19:25
5. Longest Palindromic Substring
647. Palindromic Substrings
解法一:从中心一点向两边扩展,需要考虑中心为一点,中心为两点。
解法二:马拉车算法
原文地址:https://www.cnblogs.com/AntonioSu/p/11830797.html