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-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 652,
"dislikes": 16,
"likes": 691,
"dislikes": 20,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Check if All A's Appears Before All B's\", \"titleSlug\": \"check-if-all-as-appears-before-all-bs\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
"exampleTestcases": "\"aababbab\"\n\"bbaaaaabb\"",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"17.8K\", \"totalSubmission\": \"31.9K\", \"totalAcceptedRaw\": 17758, \"totalSubmissionRaw\": 31856, \"acRate\": \"55.7%\"}",
"stats": "{\"totalAccepted\": \"19.4K\", \"totalSubmission\": \"34.5K\", \"totalAcceptedRaw\": 19417, \"totalSubmissionRaw\": 34531, \"acRate\": \"56.2%\"}",
"hints": [
"You need to find for every index the number of Bs before it and the number of A's after it",
"You can speed up the finding of A's and B's in suffix and prefix using preprocessing"