03 2022 档案

摘要:647. 回文子串 - 力扣(LeetCode) (leetcode-cn.com) 方法1:中心扩展--遍历中心/遍历中心种类 假设字符串长度n=4。 回文左起始位置 回文右起始位置 0 0 0 1 0 1 2 1 1 3 1 2 4 2 2 5 2 3 6 3 3 可以看出中心种类有7中,可得公 阅读全文
posted @ 2022-03-28 14:43 hhsfff 阅读(66) 评论(0) 推荐(0)