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-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 4581,
"dislikes": 76,
"likes": 4597,
"dislikes": 77,
"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\": \"400.5K\", \"totalSubmission\": \"608.9K\", \"totalAcceptedRaw\": 400531, \"totalSubmissionRaw\": 608914, \"acRate\": \"65.8%\"}",
"stats": "{\"totalAccepted\": \"402K\", \"totalSubmission\": \"611.3K\", \"totalAcceptedRaw\": 402021, \"totalSubmissionRaw\": 611266, \"acRate\": \"65.8%\"}",
"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."