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": "Medium",
|
||||
"likes": 2690,
|
||||
"dislikes": 106,
|
||||
"likes": 2695,
|
||||
"dislikes": 108,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Maximum Score from Performing Multiplication Operations\", \"titleSlug\": \"maximum-score-from-performing-multiplication-operations\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Removing Minimum and Maximum From Array\", \"titleSlug\": \"removing-minimum-and-maximum-from-array\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "[1,2,3,4,5,6,1]\n3\n[2,2,2]\n2\n[9,7,7,9,7,7,9]\n7",
|
||||
@@ -137,7 +137,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"124.4K\", \"totalSubmission\": \"248.8K\", \"totalAcceptedRaw\": 124389, \"totalSubmissionRaw\": 248844, \"acRate\": \"50.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"124.6K\", \"totalSubmission\": \"249.4K\", \"totalAcceptedRaw\": 124649, \"totalSubmissionRaw\": 249353, \"acRate\": \"50.0%\"}",
|
||||
"hints": [
|
||||
"Let the sum of all points be total_pts. You need to remove a sub-array from cardPoints with length n - k.",
|
||||
"Keep a window of size n - k over the array. The answer is max(answer, total_pts - sumOfCurrentWindow)"
|
||||
|
Reference in New Issue
Block a user