mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
update
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"4.5K\", \"totalSubmission\": \"8.3K\", \"totalAcceptedRaw\": 4531, \"totalSubmissionRaw\": 8274, \"acRate\": \"54.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"4.5K\", \"totalSubmission\": \"8.3K\", \"totalAcceptedRaw\": 4537, \"totalSubmissionRaw\": 8283, \"acRate\": \"54.8%\"}",
|
||||
"hints": [
|
||||
"Build a dp array where dp[i][j] is the minimum cost to achieve all the cuts between i and j.",
|
||||
"When you try to get the minimum cost between i and j, try all possible cuts k between them, dp[i][j] = min(dp[i][k] + dp[k][j]) + (j - i) for all possible cuts k between them."
|
||||
|
Reference in New Issue
Block a user