1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-22 05:26:46 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"11.9K\", \"totalSubmission\": \"22K\", \"totalAcceptedRaw\": 11932, \"totalSubmissionRaw\": 22010, \"acRate\": \"54.2%\"}",
"stats": "{\"totalAccepted\": \"12.2K\", \"totalSubmission\": \"22.6K\", \"totalAcceptedRaw\": 12240, \"totalSubmissionRaw\": 22562, \"acRate\": \"54.3%\"}",
"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."