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,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 2989,
|
||||
"likes": 3001,
|
||||
"dislikes": 363,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Subarray Sum Equals K\", \"titleSlug\": \"subarray-sum-equals-k\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Find the Middle Index in Array\", \"titleSlug\": \"find-the-middle-index-in-array\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"294.4K\", \"totalSubmission\": \"574.3K\", \"totalAcceptedRaw\": 294385, \"totalSubmissionRaw\": 574339, \"acRate\": \"51.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"295.1K\", \"totalSubmission\": \"575.4K\", \"totalAcceptedRaw\": 295051, \"totalSubmissionRaw\": 575437, \"acRate\": \"51.3%\"}",
|
||||
"hints": [
|
||||
"We can precompute prefix sums P[i] = nums[0] + nums[1] + ... + nums[i-1].\r\nThen for each index, the left sum is P[i], and the right sum is P[P.length - 1] - P[i] - nums[i]."
|
||||
],
|
||||
|
Reference in New Issue
Block a user