1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 07:21:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 480,
"likes": 483,
"dislikes": 24,
"isLiked": null,
"similarQuestions": "[]",
@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"37.8K\", \"totalSubmission\": \"65.5K\", \"totalAcceptedRaw\": 37828, \"totalSubmissionRaw\": 65493, \"acRate\": \"57.8%\"}",
"stats": "{\"totalAccepted\": \"37.9K\", \"totalSubmission\": \"65.6K\", \"totalAcceptedRaw\": 37875, \"totalSubmissionRaw\": 65585, \"acRate\": \"57.7%\"}",
"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."