1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +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

@@ -12,7 +12,7 @@
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 1646,
"dislikes": 739,
"dislikes": 740,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "\"RLRRLLRLRL\"\n\"RLLLLRRRLR\"\n\"LLLLRRRR\"",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"193.5K\", \"totalSubmission\": \"228.5K\", \"totalAcceptedRaw\": 193503, \"totalSubmissionRaw\": 228504, \"acRate\": \"84.7%\"}",
"stats": "{\"totalAccepted\": \"193.7K\", \"totalSubmission\": \"228.8K\", \"totalAcceptedRaw\": 193727, \"totalSubmissionRaw\": 228770, \"acRate\": \"84.7%\"}",
"hints": [
"Loop from left to right maintaining a balance variable when it gets an L increase it by one otherwise decrease it by one.",
"Whenever the balance variable reaches zero then we increase the answer by one."