mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-03 06:22:54 +08:00
更新国内版新增题目
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "2381",
|
||||
"questionFrontendId": "2252",
|
||||
"boundTopicId": null,
|
||||
"title": "Dynamic Pivoting of a Table",
|
||||
"titleSlug": "dynamic-pivoting-of-a-table",
|
||||
"content": null,
|
||||
"translatedTitle": null,
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Hard",
|
||||
"likes": 2,
|
||||
"dislikes": 2,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Product's Price for Each Store\", \"titleSlug\": \"products-price-for-each-store\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": null,
|
||||
"categoryTitle": "Database",
|
||||
"contributors": [],
|
||||
"topicTags": [],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"75\", \"totalSubmission\": \"139\", \"totalAcceptedRaw\": 75, \"totalSubmissionRaw\": 139, \"acRate\": \"54.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\":{\"Products\":[\"product_id\",\"store\",\"price\"]},\"rows\":{\"Products\":[[1,\"Shop\",110],[1,\"LC_Store\",100],[2,\"Nozama\",200],[2,\"Souq\",190],[3,\"Shop\",1000],[3,\"Souq\",1900]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Products (product_id int, store varchar(7), price int)\"\n ],\n \"mssql\": [\n \"Create table Products (product_id int, store varchar(7), price int)\"\n ],\n \"oraclesql\": [\n \"Create table Products (product_id int, store varchar(7), price int)\"\n ],\n \"database\": true,\n \"manual\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Create table If Not Exists Products (product_id int, store varchar(7), price int)",
|
||||
"Truncate table Products",
|
||||
"insert into Products (product_id, store, price) values ('1', 'Shop', '110')",
|
||||
"insert into Products (product_id, store, price) values ('1', 'LC_Store', '100')",
|
||||
"insert into Products (product_id, store, price) values ('2', 'Nozama', '200')",
|
||||
"insert into Products (product_id, store, price) values ('2', 'Souq', '190')",
|
||||
"insert into Products (product_id, store, price) values ('3', 'Shop', '1000')",
|
||||
"insert into Products (product_id, store, price) values ('3', 'Souq', '1900')"
|
||||
],
|
||||
"enableRunCode": true,
|
||||
"enableTestMode": false,
|
||||
"enableDebugger": false,
|
||||
"envInfo": "{\"mysql\": [\"MySQL\", \"<p><code>MySQL 8.0</code>.</p>\"], \"mssql\": [\"MS SQL Server\", \"<p><code>mssql server 2019</code>.</p>\"], \"oraclesql\": [\"Oracle\", \"<p><code>Oracle Sql 11.2</code>.</p>\"]}",
|
||||
"libraryUrl": null,
|
||||
"adminUrl": null,
|
||||
"challengeQuestion": null,
|
||||
"__typename": "QuestionNode"
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "2382",
|
||||
"questionFrontendId": "2253",
|
||||
"boundTopicId": null,
|
||||
"title": "Dynamic Unpivoting of a Table",
|
||||
"titleSlug": "dynamic-unpivoting-of-a-table",
|
||||
"content": null,
|
||||
"translatedTitle": null,
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Hard",
|
||||
"likes": 2,
|
||||
"dislikes": 2,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Rearrange Products Table\", \"titleSlug\": \"rearrange-products-table\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": null,
|
||||
"categoryTitle": "Database",
|
||||
"contributors": [],
|
||||
"topicTags": [],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"60\", \"totalSubmission\": \"96\", \"totalAcceptedRaw\": 60, \"totalSubmissionRaw\": 96, \"acRate\": \"62.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\": {\"Products\": [\"product_id\", \"LC_Store\", \"Nozama\", \"Shop\", \"Souq\"]}, \"rows\": {\"Products\": [[1, 100, null, 110, null], [2, null, 200, null, 190], [3, null, null, 1000, 1900]]}}",
|
||||
"metaData": "{\n \"mysql\": [],\n \"mssql\": [],\n \"oraclesql\": [],\n \"database\": true,\n \"manual\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Truncate table Products",
|
||||
"insert into Products (product_id, LC_Store, Nozama, Shop, Souq) values ('1', '100', 'None', '110', 'None')",
|
||||
"insert into Products (product_id, LC_Store, Nozama, Shop, Souq) values ('2', 'None', '200', 'None', '190')",
|
||||
"insert into Products (product_id, LC_Store, Nozama, Shop, Souq) values ('3', 'None', 'None', '1000', '1900')"
|
||||
],
|
||||
"enableRunCode": true,
|
||||
"enableTestMode": false,
|
||||
"enableDebugger": false,
|
||||
"envInfo": "{\"mysql\": [\"MySQL\", \"<p><code>MySQL 8.0</code>.</p>\"], \"mssql\": [\"MS SQL Server\", \"<p><code>mssql server 2019</code>.</p>\"], \"oraclesql\": [\"Oracle\", \"<p><code>Oracle Sql 11.2</code>.</p>\"]}",
|
||||
"libraryUrl": null,
|
||||
"adminUrl": null,
|
||||
"challengeQuestion": null,
|
||||
"__typename": "QuestionNode"
|
||||
}
|
||||
}
|
||||
}
|
155
leetcode/originData/count-unguarded-cells-in-the-grid.json
Normal file
155
leetcode/originData/count-unguarded-cells-in-the-grid.json
Normal file
File diff suppressed because one or more lines are too long
157
leetcode/originData/escape-the-spreading-fire.json
Normal file
157
leetcode/originData/escape-the-spreading-fire.json
Normal file
File diff suppressed because one or more lines are too long
174
leetcode/originData/intersection-of-multiple-arrays.json
Normal file
174
leetcode/originData/intersection-of-multiple-arrays.json
Normal file
File diff suppressed because one or more lines are too long
155
leetcode/originData/k-divisible-elements-subarrays.json
Normal file
155
leetcode/originData/k-divisible-elements-subarrays.json
Normal file
File diff suppressed because one or more lines are too long
155
leetcode/originData/minimum-average-difference.json
Normal file
155
leetcode/originData/minimum-average-difference.json
Normal file
File diff suppressed because one or more lines are too long
155
leetcode/originData/minimum-consecutive-cards-to-pick-up.json
Normal file
155
leetcode/originData/minimum-consecutive-cards-to-pick-up.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user