1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]infinite-method-object.json

54 lines
3.7 KiB
JSON
Raw Normal View History

2023-06-02 01:00:40 +08:00
{
"data": {
"question": {
"questionId": "2772",
"questionFrontendId": "2690",
"boundTopicId": null,
"title": "Infinite Method Object",
"titleSlug": "infinite-method-object",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
2023-12-09 18:42:21 +08:00
"likes": 24,
"dislikes": 4,
2023-06-02 01:00:40 +08:00
"isLiked": null,
"similarQuestions": "[{\"title\": \"Immutability Helper\", \"titleSlug\": \"immutability-helper\", \"difficulty\": \"Hard\", \"translatedTitle\": null}, {\"title\": \"Make Object Immutable\", \"titleSlug\": \"make-object-immutable\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "\"abc123\"\n\".-qw73n|^2It\"",
"categoryTitle": "JavaScript",
"contributors": [],
"topicTags": [],
"companyTagStats": null,
"codeSnippets": null,
2023-12-09 19:57:46 +08:00
"stats": "{\"totalAccepted\": \"734\", \"totalSubmission\": \"796\", \"totalAcceptedRaw\": 734, \"totalSubmissionRaw\": 796, \"acRate\": \"92.2%\"}",
2023-06-02 01:00:40 +08:00
"hints": [
"Javascript has the concept of Proxy. That concept is critical to this problem.",
"Override all \"get\" for the object. Return a function instead.",
"That function should return the \"prop\", i.e. the method name."
],
2023-12-09 18:42:21 +08:00
"solution": {
"id": "1972",
"canSeeDetail": false,
"paidOnly": true,
"hasVideoSolution": false,
"paidOnlyVideo": true,
"__typename": "ArticleNode"
},
2023-06-02 01:00:40 +08:00
"status": null,
"sampleTestCase": "\"abc123\"",
"metaData": "{\n \"name\": \"createInfiniteObject\",\n \"params\": [\n {\n \"type\": \"string\",\n \"name\": \"method\"\n }\n ],\n \"return\": {\n \"type\": \"string\"\n },\n \"manual\": true,\n \"languages\": [\n \"javascript\",\n \"typescript\"\n ]\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [],
"enableRunCode": true,
"enableTestMode": false,
"enableDebugger": false,
2023-12-09 18:42:21 +08:00
"envInfo": "{\"javascript\": [\"JavaScript\", \"<p><code>Node.js 16.13.2</code>.</p>\\r\\n\\r\\n<p>Your code is run with <code>--harmony</code> flag, enabling <a href=\\\"http://node.green/\\\" target=\\\"_blank\\\">new ES6 features</a>.</p>\\r\\n\\r\\n<p><a href=\\\"https://lodash.com\\\" target=\\\"_blank\\\">lodash.js</a> library is included by default.</p>\\r\\n\\r\\n<p>For Priority Queue / Queue data structures, you may use 5.3.0 version of <a href=\\\"https://github.com/datastructures-js/priority-queue/tree/fb4fdb984834421279aeb081df7af624d17c2a03\\\" target=\\\"_blank\\\">datastructures-js/priority-queue</a> and 4.2.1 version of <a href=\\\"https://github.com/datastructures-js/queue/tree/e63563025a5a805aa16928cb53bcd517bfea9230\\\" target=\\\"_blank\\\">datastructures-js/queue</a>.</p>\"], \"typescript\": [\"Typescript\", \"<p><code>TypeScript 5.1.6, Node.js 16.13.2</code>.</p>\\r\\n\\r\\n<p>Your code is run with <code>--harmony</code> flag, enabling <a href=\\\"http://node.green/\\\" target=\\\"_blank\\\">new ES2022 features</a>.</p>\\r\\n\\r\\n<p><a href=\\\"https://lodash.com\\\" target=\\\"_blank\\\">lodash.js</a> library is included by default.</p>\"]}",
2023-06-02 01:00:40 +08:00
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}