mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"116.3K\", \"totalSubmission\": \"174.5K\", \"totalAcceptedRaw\": 116320, \"totalSubmissionRaw\": 174524, \"acRate\": \"66.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"116.3K\", \"totalSubmission\": \"174.6K\", \"totalAcceptedRaw\": 116341, \"totalSubmissionRaw\": 174553, \"acRate\": \"66.7%\"}",
|
||||
"hints": [
|
||||
"For each zero, you can calculate the number of zero-filled subarrays that end on that index, which is the number of consecutive zeros behind the current element + 1.",
|
||||
"Maintain the number of consecutive zeros behind the current element, count the number of zero-filled subarrays that end on each index, sum it up to get the answer."
|
||||
|
Reference in New Issue
Block a user