mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"2.9K\", \"totalSubmission\": \"8.6K\", \"totalAcceptedRaw\": 2931, \"totalSubmissionRaw\": 8593, \"acRate\": \"34.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"2.9K\", \"totalSubmission\": \"8.6K\", \"totalAcceptedRaw\": 2937, \"totalSubmissionRaw\": 8603, \"acRate\": \"34.1%\"}",
|
||||
"hints": [
|
||||
"Define <code>dp[i][j]</code> as the minimum count of letter changes needed to split the suffix of string <code>s</code> starting from <code>s[i]</code> into <code>j</code> valid parts.",
|
||||
"We have <code>dp[i][j] = min(dp[x + 1][j - 1] + v[i][x])</code>. Here <code>v[i][x]</code> is the minimum number of letter changes to change substring <code>s[i..x]</code> into semi-palindrome.",
|
||||
|
Reference in New Issue
Block a user