1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"17.4K\", \"totalSubmission\": \"33.7K\", \"totalAcceptedRaw\": 17403, \"totalSubmissionRaw\": 33712, \"acRate\": \"51.6%\"}",
"stats": "{\"totalAccepted\": \"17.4K\", \"totalSubmission\": \"33.8K\", \"totalAcceptedRaw\": 17448, \"totalSubmissionRaw\": 33786, \"acRate\": \"51.6%\"}",
"hints": [
"Every <code>1</code> in the string <code>s</code> should be swapped with every <code>0</code> on its right side.",
"Iterate right to left and count the number of <code>0</code> that have already occurred, whenever you iterate on <code>1</code> add that counter to the answer."