1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07:51: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

@@ -34,7 +34,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"5.7K\", \"totalSubmission\": \"9.3K\", \"totalAcceptedRaw\": 5699, \"totalSubmissionRaw\": 9298, \"acRate\": \"61.3%\"}",
"stats": "{\"totalAccepted\": \"5.7K\", \"totalSubmission\": \"9.3K\", \"totalAcceptedRaw\": 5699, \"totalSubmissionRaw\": 9305, \"acRate\": \"61.2%\"}",
"hints": [
"You can create copy of a function by spreading function parameters. \r\n\r\nfunction outerFunction(passedFunction) {\r\n return newFunction(...params) {\r\n return passedFunction(...params);\r\n };\r\n}",
"params is an array. Since you know all values in the array are numbers, you can turn it into a string with JSON.stringify().",