1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +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": 612,
"likes": 614,
"dislikes": 130,
"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}]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"27.2K\", \"totalSubmission\": \"55.6K\", \"totalAcceptedRaw\": 27225, \"totalSubmissionRaw\": 55553, \"acRate\": \"49.0%\"}",
"stats": "{\"totalAccepted\": \"27.3K\", \"totalSubmission\": \"55.7K\", \"totalAcceptedRaw\": 27340, \"totalSubmissionRaw\": 55747, \"acRate\": \"49.0%\"}",
"hints": [
"Use a stack to keep opening brackets. If you face single closing ')' add 1 to the answer and consider it as '))'.",
"If you have '))' with empty stack, add 1 to the answer, If after finishing you have x opening remaining in the stack, add 2x to the answer."