摘要: https://leetcode.com/problems/interleaving-string/discuss/31879/My-DP-solution-in-C++ 阅读全文
posted @ 2018-06-12 11:18 有梦就要去实现他 阅读(95) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/distinct-subsequences/discuss/37327/Easy-to-understand-DP-in-Java 如果S[i]==T[j],那么dp[i][j] = dp[i-1][j-1] + dp[i-1][j]。意思 阅读全文
posted @ 2018-06-12 10:31 有梦就要去实现他 阅读(93) 评论(0) 推荐(0) 编辑