lalalei21 / lalalei21.github.io

0 stars 0 forks source link

Longest Palindromic Substring (最长回文子串) | Lalalei's blog #5

Open lalalei21 opened 5 years ago

lalalei21 commented 5 years ago

https://lalalei21.github.io/2019/04/19/5-LCS-md/#more

Description:Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Do it now! 方案1: Longest Common Substring(类似于求最长公共子串问题) 最长公共子串参考文档 想法:S‘为