mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"50.9K\", \"totalSubmission\": \"87.7K\", \"totalAcceptedRaw\": 50863, \"totalSubmissionRaw\": 87690, \"acRate\": \"58.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"50.9K\", \"totalSubmission\": \"87.7K\", \"totalAcceptedRaw\": 50866, \"totalSubmissionRaw\": 87695, \"acRate\": \"58.0%\"}",
|
||||
"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