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

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 703,
"likes": 707,
"dislikes": 29,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Remove Invalid Parentheses\", \"titleSlug\": \"remove-invalid-parentheses\", \"difficulty\": \"Hard\", \"translatedTitle\": null}, {\"title\": \"Minimum Add to Make Parentheses Valid\", \"titleSlug\": \"minimum-add-to-make-parentheses-valid\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Minimum Remove to Make Valid Parentheses\", \"titleSlug\": \"minimum-remove-to-make-valid-parentheses\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Minimum Insertions to Balance a Parentheses String\", \"titleSlug\": \"minimum-insertions-to-balance-a-parentheses-string\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"24.2K\", \"totalSubmission\": \"36.1K\", \"totalAcceptedRaw\": 24234, \"totalSubmissionRaw\": 36146, \"acRate\": \"67.0%\"}",
"stats": "{\"totalAccepted\": \"24.3K\", \"totalSubmission\": \"36.3K\", \"totalAcceptedRaw\": 24331, \"totalSubmissionRaw\": 36279, \"acRate\": \"67.1%\"}",
"hints": [
"Iterate over the string and keep track of the number of opening and closing brackets on each step.",
"If the number of closing brackets is ever larger, you need to make a swap.",