1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-12-18 10:04:58 +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

@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"11.9K\", \"totalSubmission\": \"22K\", \"totalAcceptedRaw\": 11913, \"totalSubmissionRaw\": 21966, \"acRate\": \"54.2%\"}",
"stats": "{\"totalAccepted\": \"11.9K\", \"totalSubmission\": \"22K\", \"totalAcceptedRaw\": 11932, \"totalSubmissionRaw\": 22010, \"acRate\": \"54.2%\"}",
"hints": [
"Precompute a prefix sum of ones ('1').",
"Iterate from left to right counting the number of zeros ('0'), then use the precomputed prefix sum for counting ones ('1'). Update the answer."