1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 15:01: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": 4597,
"dislikes": 77,
"likes": 4709,
"dislikes": 79,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Minimum Number of Swaps to Make the String Balanced\", \"titleSlug\": \"minimum-number-of-swaps-to-make-the-string-balanced\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Check if a Parentheses String Can Be Valid\", \"titleSlug\": \"check-if-a-parentheses-string-can-be-valid\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "\"lee(t(c)o)de)\"\n\"a)b(c)d\"\n\"))((\"",
@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"402K\", \"totalSubmission\": \"611.3K\", \"totalAcceptedRaw\": 402021, \"totalSubmissionRaw\": 611266, \"acRate\": \"65.8%\"}",
"stats": "{\"totalAccepted\": \"417.2K\", \"totalSubmission\": \"634.7K\", \"totalAcceptedRaw\": 417227, \"totalSubmissionRaw\": 634698, \"acRate\": \"65.7%\"}",
"hints": [
"Each prefix of a balanced parentheses has a number of open parentheses greater or equal than closed parentheses, similar idea with each suffix.",
"Check the array from left to right, remove characters that do not meet the property mentioned above, same idea in backward way."