mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 08:21:41 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 986,
|
||||
"likes": 989,
|
||||
"dislikes": 71,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Memoize\", \"titleSlug\": \"memoize\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Function Composition\", \"titleSlug\": \"function-composition\", \"difficulty\": \"Easy\", \"translatedTitle\": null}, {\"title\": \"Counter II\", \"titleSlug\": \"counter-ii\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
||||
@@ -34,7 +34,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"203.9K\", \"totalSubmission\": \"256.4K\", \"totalAcceptedRaw\": 203950, \"totalSubmissionRaw\": 256418, \"acRate\": \"79.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"204.4K\", \"totalSubmission\": \"257K\", \"totalAcceptedRaw\": 204373, \"totalSubmissionRaw\": 257025, \"acRate\": \"79.5%\"}",
|
||||
"hints": [
|
||||
"In JavaScript, a function can return a closure. A closure is defined as a function and the variables declared around it (it's lexical environment).",
|
||||
"A count variable can be initialized in the outer function and mutated in the inner function."
|
||||
|
Reference in New Issue
Block a user