mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 2983,
|
||||
"dislikes": 212,
|
||||
"likes": 3035,
|
||||
"dislikes": 213,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"exampleTestcases": "[6,2,4]\n[4,11]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"69.8K\", \"totalSubmission\": \"102K\", \"totalAcceptedRaw\": 69823, \"totalSubmissionRaw\": 102016, \"acRate\": \"68.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"70.8K\", \"totalSubmission\": \"103.5K\", \"totalAcceptedRaw\": 70815, \"totalSubmissionRaw\": 103456, \"acRate\": \"68.4%\"}",
|
||||
"hints": [
|
||||
"Do a DP, where dp(i, j) is the answer for the subarray arr[i]..arr[j].",
|
||||
"For each possible way to partition the subarray i <= k < j, the answer is max(arr[i]..arr[k]) * max(arr[k+1]..arr[j]) + dp(i, k) + dp(k+1, j)."
|
||||
|
Reference in New Issue
Block a user