mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Hard",
|
||||
"likes": 4006,
|
||||
"likes": 4007,
|
||||
"dislikes": 91,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Number of Ways to Divide a Long Corridor\", \"titleSlug\": \"number-of-ways-to-divide-a-long-corridor\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"106.1K\", \"totalSubmission\": \"170.9K\", \"totalAcceptedRaw\": 106073, \"totalSubmissionRaw\": 170945, \"acRate\": \"62.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"106.1K\", \"totalSubmission\": \"171K\", \"totalAcceptedRaw\": 106093, \"totalSubmissionRaw\": 170978, \"acRate\": \"62.1%\"}",
|
||||
"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