mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-13 18:00:18 +08:00
Polish the chapter
introduction, computational complexity.
This commit is contained in:
@@ -53,7 +53,7 @@ $$
|
||||
dp[i, j] = \min(dp[i, j-1], dp[i-1, j], dp[i-1, j-1]) + 1
|
||||
$$
|
||||
|
||||
请注意,**当 $s[i-1]$ 和 $t[j-1]$ 相同时,无需编辑当前字符**,这种情况下的状态转移方程为:
|
||||
请注意,**当 $s[i-1]$ 和 $t[j-1]$ 相同时,无须编辑当前字符**,这种情况下的状态转移方程为:
|
||||
|
||||
$$
|
||||
dp[i, j] = dp[i-1, j-1]
|
||||
|
||||
Reference in New Issue
Block a user