mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-03 06:22:54 +08:00
update
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "2515",
|
||||
"questionFrontendId": "2372",
|
||||
"boundTopicId": null,
|
||||
"title": "Calculate the Influence of Each Salesperson",
|
||||
"titleSlug": "calculate-the-influence-of-each-salesperson",
|
||||
"content": null,
|
||||
"translatedTitle": null,
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Medium",
|
||||
"likes": 6,
|
||||
"dislikes": 4,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"exampleTestcases": "{\"headers\":{\"Salesperson\":[\"salesperson_id\",\"name\"],\"Customer\":[\"customer_id\",\"salesperson_id\"],\"Sales\":[\"sale_id\",\"customer_id\",\"price\"]},\"rows\":{\"Salesperson\":[[1,\"Alice\"],[2,\"Bob\"],[3,\"Jerry\"]],\"Customer\":[[1,1],[2,1],[3,2]],\"Sales\":[[1,2,892],[2,1,354],[3,3,988],[4,3,856]]}}",
|
||||
"categoryTitle": "Database",
|
||||
"contributors": [],
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": null,
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"407\", \"totalSubmission\": \"445\", \"totalAcceptedRaw\": 407, \"totalSubmissionRaw\": 445, \"acRate\": \"91.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\":{\"Salesperson\":[\"salesperson_id\",\"name\"],\"Customer\":[\"customer_id\",\"salesperson_id\"],\"Sales\":[\"sale_id\",\"customer_id\",\"price\"]},\"rows\":{\"Salesperson\":[[1,\"Alice\"],[2,\"Bob\"],[3,\"Jerry\"]],\"Customer\":[[1,1],[2,1],[3,2]],\"Sales\":[[1,2,892],[2,1,354],[3,3,988],[4,3,856]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Salesperson (salesperson_id int, name varchar(30))\",\n \"Create table If Not Exists Customer (customer_id int, salesperson_id int)\",\n \"Create table If Not Exists Sales (sale_id int, customer_id int, price int)\"\n ],\n \"mssql\": [\n \"Create table Salesperson (salesperson_id int, name varchar(30))\",\n \"Create table Customer (customer_id int, salesperson_id int)\",\n \"Create table Sales (sale_id int, customer_id int, price int)\"\n ],\n \"oraclesql\": [\n \"Create table Salesperson (salesperson_id int, name varchar(30))\",\n \"Create table Customer (customer_id int, salesperson_id int)\",\n \"Create table Sales (sale_id int, customer_id int, price int)\"\n ],\n \"database\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Create table If Not Exists Salesperson (salesperson_id int, name varchar(30))",
|
||||
"Create table If Not Exists Customer (customer_id int, salesperson_id int)",
|
||||
"Create table If Not Exists Sales (sale_id int, customer_id int, price int)",
|
||||
"Truncate table Salesperson",
|
||||
"insert into Salesperson (salesperson_id, name) values ('1', 'Alice')",
|
||||
"insert into Salesperson (salesperson_id, name) values ('2', 'Bob')",
|
||||
"insert into Salesperson (salesperson_id, name) values ('3', 'Jerry')",
|
||||
"Truncate table Customer",
|
||||
"insert into Customer (customer_id, salesperson_id) values ('1', '1')",
|
||||
"insert into Customer (customer_id, salesperson_id) values ('2', '1')",
|
||||
"insert into Customer (customer_id, salesperson_id) values ('3', '2')",
|
||||
"Truncate table Sales",
|
||||
"insert into Sales (sale_id, customer_id, price) values ('1', '2', '892')",
|
||||
"insert into Sales (sale_id, customer_id, price) values ('2', '1', '354')",
|
||||
"insert into Sales (sale_id, customer_id, price) values ('3', '3', '988')",
|
||||
"insert into Sales (sale_id, customer_id, price) values ('4', '3', '856')"
|
||||
],
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
62
leetcode/originData/[no content]generate-the-invoice.json
Normal file
62
leetcode/originData/[no content]generate-the-invoice.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "2501",
|
||||
"questionFrontendId": "2362",
|
||||
"boundTopicId": null,
|
||||
"title": "Generate the Invoice",
|
||||
"titleSlug": "generate-the-invoice",
|
||||
"content": null,
|
||||
"translatedTitle": null,
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Hard",
|
||||
"likes": 11,
|
||||
"dislikes": 9,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"exampleTestcases": "{\"headers\":{\"Products\":[\"product_id\",\"price\"],\"Purchases\":[\"invoice_id\",\"product_id\",\"quantity\"]},\"rows\":{\"Products\":[[1,100],[2,200]],\"Purchases\":[[1,1,2],[3,2,1],[2,2,3],[2,1,4],[4,1,10]]}}",
|
||||
"categoryTitle": "Database",
|
||||
"contributors": [],
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": null,
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"397\", \"totalSubmission\": \"433\", \"totalAcceptedRaw\": 397, \"totalSubmissionRaw\": 433, \"acRate\": \"91.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\":{\"Products\":[\"product_id\",\"price\"],\"Purchases\":[\"invoice_id\",\"product_id\",\"quantity\"]},\"rows\":{\"Products\":[[1,100],[2,200]],\"Purchases\":[[1,1,2],[3,2,1],[2,2,3],[2,1,4],[4,1,10]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Products (product_id int, price int)\",\n \"Create table If Not Exists Purchases (invoice_id int, product_id int, quantity int)\"\n ],\n \"mssql\": [\n \"Create table Products (product_id int, price int)\",\n \"Create table Purchases (invoice_id int, product_id int, quantity int)\"\n ],\n \"oraclesql\": [\n \"Create table Products (product_id int, price int)\",\n \"Create table Purchases (invoice_id int, product_id int, quantity int)\"\n ],\n \"database\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Create table If Not Exists Products (product_id int, price int)",
|
||||
"Create table If Not Exists Purchases (invoice_id int, product_id int, quantity int)",
|
||||
"Truncate table Products",
|
||||
"insert into Products (product_id, price) values ('1', '100')",
|
||||
"insert into Products (product_id, price) values ('2', '200')",
|
||||
"Truncate table Purchases",
|
||||
"insert into Purchases (invoice_id, product_id, quantity) values ('1', '1', '2')",
|
||||
"insert into Purchases (invoice_id, product_id, quantity) values ('3', '2', '1')",
|
||||
"insert into Purchases (invoice_id, product_id, quantity) values ('2', '2', '3')",
|
||||
"insert into Purchases (invoice_id, product_id, quantity) values ('2', '1', '4')",
|
||||
"insert into Purchases (invoice_id, product_id, quantity) values ('4', '1', '10')"
|
||||
],
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
58
leetcode/originData/[no content]sort-the-olympic-table.json
Normal file
58
leetcode/originData/[no content]sort-the-olympic-table.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "2516",
|
||||
"questionFrontendId": "2377",
|
||||
"boundTopicId": null,
|
||||
"title": "Sort the Olympic Table",
|
||||
"titleSlug": "sort-the-olympic-table",
|
||||
"content": null,
|
||||
"translatedTitle": null,
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Easy",
|
||||
"likes": 9,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"exampleTestcases": null,
|
||||
"categoryTitle": "Database",
|
||||
"contributors": [],
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": null,
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"474\", \"totalSubmission\": \"562\", \"totalAcceptedRaw\": 474, \"totalSubmissionRaw\": 562, \"acRate\": \"84.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\":{\"Olympic\":[\"country\",\"gold_medals\",\"silver_medals\",\"bronze_medals\"]},\"rows\":{\"Olympic\":[[\"China\",10,10,20],[\"South Sudan\",0,0,1],[\"USA\",10,10,20],[\"Israel\",2,2,3],[\"Egypt\",2,2,2]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Olympic (country varchar(50), gold_medals int, silver_medals int, bronze_medals int)\"\n ],\n \"mssql\": [\n \"Create table Olympic (country varchar(50), gold_medals int, silver_medals int, bronze_medals int)\"\n ],\n \"oraclesql\": [\n \"Create table Olympic (country varchar(50), gold_medals int, silver_medals int, bronze_medals int)\"\n ],\n \"database\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Create table If Not Exists Olympic (country varchar(50), gold_medals int, silver_medals int, bronze_medals int)",
|
||||
"Truncate table Olympic",
|
||||
"insert into Olympic (country, gold_medals, silver_medals, bronze_medals) values ('China', '10', '10', '20')",
|
||||
"insert into Olympic (country, gold_medals, silver_medals, bronze_medals) values ('South Sudan', '0', '0', '1')",
|
||||
"insert into Olympic (country, gold_medals, silver_medals, bronze_medals) values ('USA', '10', '10', '20')",
|
||||
"insert into Olympic (country, gold_medals, silver_medals, bronze_medals) values ('Israel', '2', '2', '3')",
|
||||
"insert into Olympic (country, gold_medals, silver_medals, bronze_medals) values ('Egypt', '2', '2', '2')"
|
||||
],
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
175
leetcode/originData/count-number-of-bad-pairs.json
Normal file
175
leetcode/originData/count-number-of-bad-pairs.json
Normal file
File diff suppressed because one or more lines are too long
174
leetcode/originData/count-special-integers.json
Normal file
174
leetcode/originData/count-special-integers.json
Normal file
File diff suppressed because one or more lines are too long
174
leetcode/originData/find-closest-node-to-given-two-nodes.json
Normal file
174
leetcode/originData/find-closest-node-to-given-two-nodes.json
Normal file
File diff suppressed because one or more lines are too long
180
leetcode/originData/find-the-k-sum-of-an-array.json
Normal file
180
leetcode/originData/find-the-k-sum-of-an-array.json
Normal file
File diff suppressed because one or more lines are too long
174
leetcode/originData/largest-local-values-in-a-matrix.json
Normal file
174
leetcode/originData/largest-local-values-in-a-matrix.json
Normal file
File diff suppressed because one or more lines are too long
182
leetcode/originData/largest-palindromic-number.json
Normal file
182
leetcode/originData/largest-palindromic-number.json
Normal file
File diff suppressed because one or more lines are too long
180
leetcode/originData/longest-cycle-in-a-graph.json
Normal file
180
leetcode/originData/longest-cycle-in-a-graph.json
Normal file
File diff suppressed because one or more lines are too long
180
leetcode/originData/longest-ideal-subsequence.json
Normal file
180
leetcode/originData/longest-ideal-subsequence.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
187
leetcode/originData/maximum-segment-sum-after-removals.json
Normal file
187
leetcode/originData/maximum-segment-sum-after-removals.json
Normal file
File diff suppressed because one or more lines are too long
186
leetcode/originData/merge-similar-items.json
Normal file
186
leetcode/originData/merge-similar-items.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
180
leetcode/originData/minimum-replacements-to-sort-the-array.json
Normal file
180
leetcode/originData/minimum-replacements-to-sort-the-array.json
Normal file
File diff suppressed because one or more lines are too long
175
leetcode/originData/node-with-highest-edge-score.json
Normal file
175
leetcode/originData/node-with-highest-edge-score.json
Normal file
File diff suppressed because one or more lines are too long
186
leetcode/originData/number-of-arithmetic-triplets.json
Normal file
186
leetcode/originData/number-of-arithmetic-triplets.json
Normal file
File diff suppressed because one or more lines are too long
199
leetcode/originData/reachable-nodes-with-restrictions.json
Normal file
199
leetcode/originData/reachable-nodes-with-restrictions.json
Normal file
File diff suppressed because one or more lines are too long
180
leetcode/originData/shifting-letters-ii.json
Normal file
180
leetcode/originData/shifting-letters-ii.json
Normal file
File diff suppressed because one or more lines are too long
180
leetcode/originData/task-scheduler-ii.json
Normal file
180
leetcode/originData/task-scheduler-ii.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user