注意当i-i+1 字符相等的时候, dp[i+1][i] 默认就是0此时dp就为2
点赞 评论

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务