1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-10 09:51:42 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

存量题库数据更新

This commit is contained in:
2023-12-09 18:42:21 +08:00
parent a788808cd7
commit c198538f10
10843 changed files with 288489 additions and 248355 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 62,
"dislikes": 5,
"likes": 128,
"dislikes": 12,
"isLiked": null,
"similarQuestions": "[{\"title\": \"The Most Recent Three Orders\", \"titleSlug\": \"the-most-recent-three-orders\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"The Most Frequently Ordered Products for Each Customer\", \"titleSlug\": \"the-most-frequently-ordered-products-for-each-customer\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "{\"headers\":{\"Customers\":[\"customer_id\",\"name\"],\"Orders\":[\"order_id\",\"order_date\",\"customer_id\",\"product_id\"],\"Products\":[\"product_id\",\"product_name\",\"price\"]},\"rows\":{\"Customers\":[[1,\"Winston\"],[2,\"Jonathan\"],[3,\"Annabelle\"],[4,\"Marwan\"],[5,\"Khaled\"]],\"Orders\":[[1,\"2020-07-31\",1,1],[2,\"2020-7-30\",2,2],[3,\"2020-08-29\",3,3],[4,\"2020-07-29\",4,1],[5,\"2020-06-10\",1,2],[6,\"2020-08-01\",2,1],[7,\"2020-08-01\",3,1],[8,\"2020-08-03\",1,2],[9,\"2020-08-07\",2,3],[10,\"2020-07-15\",1,2]],\"Products\":[[1,\"keyboard\",120],[2,\"mouse\",80],[3,\"screen\",600],[4,\"hard disk\",450]]}}",
@@ -28,12 +28,19 @@
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"12.6K\", \"totalSubmission\": \"18.7K\", \"totalAcceptedRaw\": 12624, \"totalSubmissionRaw\": 18692, \"acRate\": \"67.5%\"}",
"stats": "{\"totalAccepted\": \"25.7K\", \"totalSubmission\": \"39.4K\", \"totalAcceptedRaw\": 25718, \"totalSubmissionRaw\": 39390, \"acRate\": \"65.3%\"}",
"hints": [],
"solution": null,
"solution": {
"id": "2055",
"canSeeDetail": false,
"paidOnly": true,
"hasVideoSolution": false,
"paidOnlyVideo": true,
"__typename": "ArticleNode"
},
"status": null,
"sampleTestCase": "{\"headers\":{\"Customers\":[\"customer_id\",\"name\"],\"Orders\":[\"order_id\",\"order_date\",\"customer_id\",\"product_id\"],\"Products\":[\"product_id\",\"product_name\",\"price\"]},\"rows\":{\"Customers\":[[1,\"Winston\"],[2,\"Jonathan\"],[3,\"Annabelle\"],[4,\"Marwan\"],[5,\"Khaled\"]],\"Orders\":[[1,\"2020-07-31\",1,1],[2,\"2020-7-30\",2,2],[3,\"2020-08-29\",3,3],[4,\"2020-07-29\",4,1],[5,\"2020-06-10\",1,2],[6,\"2020-08-01\",2,1],[7,\"2020-08-01\",3,1],[8,\"2020-08-03\",1,2],[9,\"2020-08-07\",2,3],[10,\"2020-07-15\",1,2]],\"Products\":[[1,\"keyboard\",120],[2,\"mouse\",80],[3,\"screen\",600],[4,\"hard disk\",450]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Customers (customer_id int, name varchar(10))\",\n \"Create table If Not Exists Orders (order_id int, order_date date, customer_id int, product_id int)\",\n \"Create table If Not Exists Products (product_id int, product_name varchar(20), price int)\"\n ],\n \"mssql\": [\n \"Create table Customers (customer_id int, name varchar(10))\",\n \"Create table Orders (order_id int, order_date date, customer_id int, product_id int)\",\n \"Create table Products (product_id int, product_name varchar(20), price int)\"\n ],\n \"oraclesql\": [\n \"Create table Customers (customer_id int, name varchar(10))\",\n \"Create table Orders (order_id int, order_date date, customer_id int, product_id int)\",\n \"Create table Products (product_id int, product_name varchar(20), price int)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"\n ],\n \"database\": true\n}",
"metaData": "{\"mysql\": [\"Create table If Not Exists Customers (customer_id int, name varchar(10))\", \"Create table If Not Exists Orders (order_id int, order_date date, customer_id int, product_id int)\", \"Create table If Not Exists Products (product_id int, product_name varchar(20), price int)\"], \"mssql\": [\"Create table Customers (customer_id int, name varchar(10))\", \"Create table Orders (order_id int, order_date date, customer_id int, product_id int)\", \"Create table Products (product_id int, product_name varchar(20), price int)\"], \"oraclesql\": [\"Create table Customers (customer_id int, name varchar(10))\", \"Create table Orders (order_id int, order_date date, customer_id int, product_id int)\", \"Create table Products (product_id int, product_name varchar(20), price int)\", \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"], \"database\": true, \"name\": \"most_recent_orders\", \"pythondata\": [\"Customers = pd.DataFrame([], columns=['customer_id', 'name']).astype({'customer_id':'Int64', 'name':'object'})\", \"Orders = pd.DataFrame([], columns=['order_id', 'order_date', 'customer_id', 'product_id']).astype({'order_id':'Int64', 'order_date':'datetime64[ns]', 'customer_id':'Int64', 'product_id':'Int64'})\", \"Products = pd.DataFrame([], columns=['product_id', 'product_name', 'price']).astype({'product_id':'Int64', 'product_name':'object', 'price':'Int64'})\"], \"postgresql\": [\"\\nCreate table If Not Exists Customers (customer_id int, name varchar(10))\\n\", \"Create table If Not Exists Orders (order_id int, order_date date, customer_id int, product_id int)\", \"Create table If Not Exists Products (product_id int, product_name varchar(20), price int)\"], \"database_schema\": {\"Customers\": {\"customer_id\": \"INT\", \"name\": \"VARCHAR(10)\"}, \"Orders\": {\"order_id\": \"INT\", \"order_date\": \"DATE\", \"customer_id\": \"INT\", \"product_id\": \"INT\"}, \"Products\": {\"product_id\": \"INT\", \"product_name\": \"VARCHAR(20)\", \"price\": \"INT\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
@@ -66,7 +73,7 @@
"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>\"]}",
"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>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,