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