1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-03 14:32:54 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-11-24 20:11:13 +08:00
parent 8a37a26300
commit 23a743b5be
30 changed files with 15304 additions and 12420 deletions

View File

@@ -0,0 +1,65 @@
{
"data": {
"question": {
"questionId": "2613",
"questionFrontendId": "2474",
"categoryTitle": "Database",
"boundTopicId": 1979417,
"title": "Customers With Strictly Increasing Purchases",
"titleSlug": "customers-with-strictly-increasing-purchases",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Hard",
"likes": 0,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"32\", \"totalSubmission\": \"49\", \"totalAcceptedRaw\": 32, \"totalSubmissionRaw\": 49, \"acRate\": \"65.3%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\": {\"Orders\": [\"order_id\", \"customer_id\", \"order_date\", \"price\"]}, \"rows\": {\"Orders\": [[1, 1, \"2019-07-01\", 1100], [2, 1, \"2019-11-01\", 1200], [3, 1, \"2020-05-26\", 3000], [4, 1, \"2021-08-31\", 3100], [5, 1, \"2022-12-07\", 4700], [6, 2, \"2015-01-01\", 700], [7, 2, \"2017-11-07\", 1000], [8, 3, \"2017-01-01\", 900], [9, 3, \"2018-11-07\", 900]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Orders (order_id int, customer_id int, order_date date, price int)\"\n ],\n \"mssql\": [\n \"Create table Orders (order_id int, customer_id int, order_date date, price int)\"\n ],\n \"oraclesql\": [\n \"Create table Orders (order_id int, customer_id int, order_date date, price 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 Orders (order_id int, customer_id int, order_date date, price int)",
"Truncate table Orders",
"insert into Orders (order_id, customer_id, order_date, price) values ('1', '1', '2019-07-01', '1100')",
"insert into Orders (order_id, customer_id, order_date, price) values ('2', '1', '2019-11-01', '1200')",
"insert into Orders (order_id, customer_id, order_date, price) values ('3', '1', '2020-05-26', '3000')",
"insert into Orders (order_id, customer_id, order_date, price) values ('4', '1', '2021-08-31', '3100')",
"insert into Orders (order_id, customer_id, order_date, price) values ('5', '1', '2022-12-07', '4700')",
"insert into Orders (order_id, customer_id, order_date, price) values ('6', '2', '2015-01-01', '700')",
"insert into Orders (order_id, customer_id, order_date, price) values ('7', '2', '2017-11-07', '1000')",
"insert into Orders (order_id, customer_id, order_date, price) values ('8', '3', '2017-01-01', '900')",
"insert into Orders (order_id, customer_id, order_date, price) values ('9', '3', '2018-11-07', '900')"
],
"enableRunCode": true,
"envInfo": "{\"mysql\":[\"MySQL\",\"<p>\\u7248\\u672c\\uff1a<code>MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"<p>mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"<p>Oracle Sql 11.2.<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\": {\"Orders\": [\"order_id\", \"customer_id\", \"order_date\", \"price\"]}, \"rows\": {\"Orders\": [[1, 1, \"2019-07-01\", 1100], [2, 1, \"2019-11-01\", 1200], [3, 1, \"2020-05-26\", 3000], [4, 1, \"2021-08-31\", 3100], [5, 1, \"2022-12-07\", 4700], [6, 2, \"2015-01-01\", 700], [7, 2, \"2017-11-07\", 1000], [8, 3, \"2017-01-01\", 900], [9, 3, \"2018-11-07\", 900]]}}",
"__typename": "QuestionNode"
}
}
}

View File

@@ -0,0 +1,56 @@
{
"data": {
"question": {
"questionId": "2622",
"questionFrontendId": "2480",
"categoryTitle": "Database",
"boundTopicId": 1988205,
"title": "Form a Chemical Bond",
"titleSlug": "form-a-chemical-bond",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 0,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"17\", \"totalSubmission\": \"17\", \"totalAcceptedRaw\": 17, \"totalSubmissionRaw\": 17, \"acRate\": \"100.0%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\": {\"Elements\": [\"symbol\", \"type\", \"electrons\"]}, \"rows\": {\"Elements\": [[\"He\", \"Noble\", 0], [\"Na\", \"Metal\", 1], [\"Ca\", \"Metal\", 2], [\"La\", \"Metal\", 3], [\"Cl\", \"Nonmetal\", 1], [\"O\", \"Nonmetal\", 2], [\"N\", \"Nonmetal\", 3]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Elements (symbol varchar(2), type ENUM('Metal','Nonmetal','Noble'), electrons int)\"\n ],\n \"mssql\": [\n \"Create table Elements (symbol varchar(2), type varchar(8) not null check(type in ('Metal','Nonmetal','Noble')), electrons int)\\n\"\n ],\n \"oraclesql\": [\n \"Create table Elements (symbol varchar(2), type varchar(8) not null check(type in ('Metal','Nonmetal','Noble')), electrons int)\\n\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Elements (symbol varchar(2), type ENUM('Metal','Nonmetal','Noble'), electrons int)",
"Truncate table Elements",
"insert into Elements (symbol, type, electrons) values ('He', 'Noble', '0')",
"insert into Elements (symbol, type, electrons) values ('Na', 'Metal', '1')",
"insert into Elements (symbol, type, electrons) values ('Ca', 'Metal', '2')",
"insert into Elements (symbol, type, electrons) values ('La', 'Metal', '3')",
"insert into Elements (symbol, type, electrons) values ('Cl', 'Nonmetal', '1')",
"insert into Elements (symbol, type, electrons) values ('O', 'Nonmetal', '2')",
"insert into Elements (symbol, type, electrons) values ('N', 'Nonmetal', '3')"
],
"enableRunCode": true,
"envInfo": "{\"mysql\":[\"MySQL\",\"<p>\\u7248\\u672c\\uff1a<code>MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"<p>mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"<p>Oracle Sql 11.2.<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\": {\"Elements\": [\"symbol\", \"type\", \"electrons\"]}, \"rows\": {\"Elements\": [[\"He\", \"Noble\", 0], [\"Na\", \"Metal\", 1], [\"Ca\", \"Metal\", 2], [\"La\", \"Metal\", 3], [\"Cl\", \"Nonmetal\", 1], [\"O\", \"Nonmetal\", 2], [\"N\", \"Nonmetal\", 3]]}}",
"__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

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