1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 23:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 16:56:27 +08:00
parent e730aa6794
commit ad15da05aa
2517 changed files with 7358 additions and 7332 deletions

View File

@@ -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.",