We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca8eb2f + 7683e17 commit 5976db0Copy full SHA for 5976db0
problems/1143.最长公共子序列.md
@@ -80,7 +80,7 @@ if (text1[i - 1] == text2[j - 1]) {
80
81
先看看dp[i][0]应该是多少呢?
82
83
-test1[0, i-1]和空串的最长公共子序列自然是0,所以dp[i][0] = 0;
+text1[0, i-1]和空串的最长公共子序列自然是0,所以dp[i][0] = 0;
84
85
同理dp[0][j]也是0。
86
0 commit comments