Longest Palindromic Substrings
Given a strings, find the longest palindromic substring ins. You may assume that the maximum length ofsis 1000.
Example 1:
Example 2:
Note
DP
还是注意填充/遍历的顺序,这里是True/False作为值,记录最大的长度
Code
Last updated
Given a strings, find the longest palindromic substring ins. You may assume that the maximum length ofsis 1000.
Example 1:
Example 2:
DP
还是注意填充/遍历的顺序,这里是True/False作为值,记录最大的长度
Last updated