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