mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
update
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"280\", \"totalSubmission\": \"522\", \"totalAcceptedRaw\": 280, \"totalSubmissionRaw\": 522, \"acRate\": \"53.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"291\", \"totalSubmission\": \"538\", \"totalAcceptedRaw\": 291, \"totalSubmissionRaw\": 538, \"acRate\": \"54.1%\"}",
|
||||
"hints": [
|
||||
"Change the zeros in nums to -1 and create a prefix sum array prefixSum using the new nums.",
|
||||
"If prefixSum[i] for any index i in the range 0 <= i < prefixSum.length is positive, that means that there are more ones than zeros in the prefix ending at index i.",
|
||||
|
Reference in New Issue
Block a user