mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Hard",
|
||||
"likes": 357,
|
||||
"dislikes": 230,
|
||||
"likes": 368,
|
||||
"dislikes": 231,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Brace Expansion\", \"titleSlug\": \"brace-expansion\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "\"{a,b}{c,{d,e}}\"\n\"{{a,z},a{b,c},{ab,z}}\"",
|
||||
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"18.7K\", \"totalSubmission\": \"29.9K\", \"totalAcceptedRaw\": 18698, \"totalSubmissionRaw\": 29940, \"acRate\": \"62.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"19.1K\", \"totalSubmission\": \"30.5K\", \"totalAcceptedRaw\": 19080, \"totalSubmissionRaw\": 30498, \"acRate\": \"62.6%\"}",
|
||||
"hints": [
|
||||
"You can write helper methods to parse the next \"chunk\" of the expression. If you see eg. \"a\", the answer is just the set {a}. If you see \"{\", you parse until you complete the \"}\" (the number of { and } seen are equal) and that becomes a chunk that you find where the appropriate commas are, and parse each individual expression between the commas."
|
||||
],
|
||||
|
Reference in New Issue
Block a user