mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-10 01:41:41 +08:00
update
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"67.3K\", \"totalSubmission\": \"117.7K\", \"totalAcceptedRaw\": 67257, \"totalSubmissionRaw\": 117684, \"acRate\": \"57.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"67.3K\", \"totalSubmission\": \"117.7K\", \"totalAcceptedRaw\": 67273, \"totalSubmissionRaw\": 117719, \"acRate\": \"57.1%\"}",
|
||||
"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