LincolnZhen
LincolnZhen
全部文章
分类
题解(14)
归档
标签
去牛客网
登录
/
注册
LincolnZhen的博客
全部文章
(共1篇)
题解 | #最长回文子串#
解法: 动态规划, 状态转移矩阵Matrix[n][n], 以left代表子串开头位置,right代表子串结尾位置, left <= right 如果子串不是回文字符串, Matrix[left][right] = 0,, 如果子串是回文字符串, Matrix[left][right] =...
C++
动态规划
2021-09-22
0
255