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": 707,
"dislikes": 29,
"likes": 744,
"dislikes": 30,
"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}]",
"exampleTestcases": "\"][][\"\n\"]]][[[\"\n\"[]\"",
@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"24.3K\", \"totalSubmission\": \"36.3K\", \"totalAcceptedRaw\": 24331, \"totalSubmissionRaw\": 36279, \"acRate\": \"67.1%\"}",
"stats": "{\"totalAccepted\": \"26K\", \"totalSubmission\": \"38.7K\", \"totalAcceptedRaw\": 26031, \"totalSubmissionRaw\": 38658, \"acRate\": \"67.3%\"}",
"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.",