1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-09 09:21:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 2680,
"likes": 2681,
"dislikes": 241,
"isLiked": null,
"similarQuestions": "[]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"129.7K\", \"totalSubmission\": \"222.5K\", \"totalAcceptedRaw\": 129741, \"totalSubmissionRaw\": 222516, \"acRate\": \"58.3%\"}",
"stats": "{\"totalAccepted\": \"129.7K\", \"totalSubmission\": \"222.5K\", \"totalAcceptedRaw\": 129749, \"totalSubmissionRaw\": 222538, \"acRate\": \"58.3%\"}",
"hints": [
"Use DP. Try to cut the array into d non-empty sub-arrays. Try all possible cuts for the array.",
"Use dp[i][j] where DP states are i the index of the last cut and j the number of remaining cuts. Complexity is O(n * n * d)."