mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"5.3K\", \"totalSubmission\": \"12.5K\", \"totalAcceptedRaw\": 5297, \"totalSubmissionRaw\": 12523, \"acRate\": \"42.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"5.3K\", \"totalSubmission\": \"12.5K\", \"totalAcceptedRaw\": 5298, \"totalSubmissionRaw\": 12524, \"acRate\": \"42.3%\"}",
|
||||
"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