mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 06:51:41 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Hard",
|
||||
"likes": 343,
|
||||
"dislikes": 13,
|
||||
"likes": 346,
|
||||
"dislikes": 14,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Number of Ways to Separate Numbers\", \"titleSlug\": \"number-of-ways-to-separate-numbers\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "\"1000\"\n10000\n\"1000\"\n10\n\"1317\"\n2000",
|
||||
@@ -137,7 +137,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"11.8K\", \"totalSubmission\": \"31.2K\", \"totalAcceptedRaw\": 11804, \"totalSubmissionRaw\": 31219, \"acRate\": \"37.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"11.8K\", \"totalSubmission\": \"31.2K\", \"totalAcceptedRaw\": 11815, \"totalSubmissionRaw\": 31239, \"acRate\": \"37.8%\"}",
|
||||
"hints": [
|
||||
"Use dynamic programming. Build an array dp where dp[i] is the number of ways you can divide the string starting from index i to the end.",
|
||||
"Keep in mind that the answer is modulo 10^9 + 7 and take the mod for each operation."
|
||||
|
Reference in New Issue
Block a user