摘要: package Classify.DP.Medium; import org.junit.jupiter.api.Test; public class PalindromicSubstrings { / 基本思路:这里的 dp 方程的每一个元素就代表我要以当前元素作为回文子串的结尾时候的回文子串的数 阅读全文
posted @ 2017-10-12 19:55 梓川耶 阅读(160) 评论(0) 推荐(0)
摘要: package Classify.DP.Medium; import org.junit.jupiter.api.Test; / Initially on a notepad only one character 'A' is present. You can perform two operati 阅读全文
posted @ 2017-10-12 18:00 梓川耶 阅读(230) 评论(0) 推荐(0)