mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 05:26:46 +08:00
update
This commit is contained in:
@@ -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."
|
||||
|
Reference in New Issue
Block a user