1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-09 01:11:42 +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\": \"5.4K\", \"totalSubmission\": \"10.1K\", \"totalAcceptedRaw\": 5372, \"totalSubmissionRaw\": 10105, \"acRate\": \"53.2%\"}",
"stats": "{\"totalAccepted\": \"5.4K\", \"totalSubmission\": \"10.1K\", \"totalAcceptedRaw\": 5378, \"totalSubmissionRaw\": 10115, \"acRate\": \"53.2%\"}",
"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."