mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "1671",
|
||||
"questionFrontendId": "1532",
|
||||
"boundTopicId": null,
|
||||
"title": "The Most Recent Three Orders",
|
||||
"titleSlug": "the-most-recent-three-orders",
|
||||
"content": null,
|
||||
"translatedTitle": null,
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Medium",
|
||||
"likes": 83,
|
||||
"dislikes": 7,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"The Most Recent Orders for Each Product\", \"titleSlug\": \"the-most-recent-orders-for-each-product\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "{\"headers\":{\"Customers\":[\"customer_id\",\"name\"],\"Orders\":[\"order_id\",\"order_date\",\"customer_id\",\"cost\"]},\"rows\":{\"Customers\":[[1,\"Winston\"],[2,\"Jonathan\"],[3,\"Annabelle\"],[4,\"Marwan\"],[5,\"Khaled\"]],\"Orders\":[[1,\"2020-07-31\",1,30],[2,\"2020-7-30\",2,40],[3,\"2020-07-31\",3,70],[4,\"2020-07-29\",4,100],[5,\"2020-06-10\",1,1010],[6,\"2020-08-01\",2,102],[7,\"2020-08-01\",3,111],[8,\"2020-08-03\",1,99],[9,\"2020-08-07\",2,32],[10,\"2020-07-15\",1,2]]}}",
|
||||
"categoryTitle": "Database",
|
||||
"contributors": [],
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": null,
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"14.6K\", \"totalSubmission\": \"20.4K\", \"totalAcceptedRaw\": 14562, \"totalSubmissionRaw\": 20433, \"acRate\": \"71.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\":{\"Customers\":[\"customer_id\",\"name\"],\"Orders\":[\"order_id\",\"order_date\",\"customer_id\",\"cost\"]},\"rows\":{\"Customers\":[[1,\"Winston\"],[2,\"Jonathan\"],[3,\"Annabelle\"],[4,\"Marwan\"],[5,\"Khaled\"]],\"Orders\":[[1,\"2020-07-31\",1,30],[2,\"2020-7-30\",2,40],[3,\"2020-07-31\",3,70],[4,\"2020-07-29\",4,100],[5,\"2020-06-10\",1,1010],[6,\"2020-08-01\",2,102],[7,\"2020-08-01\",3,111],[8,\"2020-08-03\",1,99],[9,\"2020-08-07\",2,32],[10,\"2020-07-15\",1,2]]}}",
|
||||
"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, cost 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, cost 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, cost int)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"\n ],\n \"database\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"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, cost int)",
|
||||
"Truncate table Customers",
|
||||
"insert into Customers (customer_id, name) values ('1', 'Winston')",
|
||||
"insert into Customers (customer_id, name) values ('2', 'Jonathan')",
|
||||
"insert into Customers (customer_id, name) values ('3', 'Annabelle')",
|
||||
"insert into Customers (customer_id, name) values ('4', 'Marwan')",
|
||||
"insert into Customers (customer_id, name) values ('5', 'Khaled')",
|
||||
"Truncate table Orders",
|
||||
"insert into Orders (order_id, order_date, customer_id, cost) values ('1', '2020-07-31', '1', '30')",
|
||||
"insert into Orders (order_id, order_date, customer_id, cost) values ('2', '2020-7-30', '2', '40')",
|
||||
"insert into Orders (order_id, order_date, customer_id, cost) values ('3', '2020-07-31', '3', '70')",
|
||||
"insert into Orders (order_id, order_date, customer_id, cost) values ('4', '2020-07-29', '4', '100')",
|
||||
"insert into Orders (order_id, order_date, customer_id, cost) values ('5', '2020-06-10', '1', '1010')",
|
||||
"insert into Orders (order_id, order_date, customer_id, cost) values ('6', '2020-08-01', '2', '102')",
|
||||
"insert into Orders (order_id, order_date, customer_id, cost) values ('7', '2020-08-01', '3', '111')",
|
||||
"insert into Orders (order_id, order_date, customer_id, cost) values ('8', '2020-08-03', '1', '99')",
|
||||
"insert into Orders (order_id, order_date, customer_id, cost) values ('9', '2020-08-07', '2', '32')",
|
||||
"insert into Orders (order_id, order_date, customer_id, cost) values ('10', '2020-07-15', '1', '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"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user