mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -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."
|
||||
|
Reference in New Issue
Block a user