1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-07 08:21:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -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."