mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Hard",
|
||||
"likes": 898,
|
||||
"dislikes": 135,
|
||||
"likes": 934,
|
||||
"dislikes": 138,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"exampleTestcases": "[-1,-8,0,5,-7]\n[4,3,2]\n[-1,-4,-5]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"35.4K\", \"totalSubmission\": \"48.9K\", \"totalAcceptedRaw\": 35446, \"totalSubmissionRaw\": 48884, \"acRate\": \"72.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"36.5K\", \"totalSubmission\": \"50.4K\", \"totalAcceptedRaw\": 36482, \"totalSubmissionRaw\": 50378, \"acRate\": \"72.4%\"}",
|
||||
"hints": [
|
||||
"Use dynamic programming to find the optimal solution by saving the previous best like-time coefficient and its corresponding element sum.",
|
||||
"If adding the current element to the previous best like-time coefficient and its corresponding element sum would increase the best like-time coefficient, then go ahead and add it. Otherwise, keep the previous best like-time coefficient."
|
||||
|
Reference in New Issue
Block a user