Skip to content

Commit 23a743b

Browse files
committed
update
1 parent 8a37a26 commit 23a743b

File tree

30 files changed

+15304
-12420
lines changed

30 files changed

+15304
-12420
lines changed

Diff for: leetcode-cn/origin-data.json

+7,622-7,454
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"data": {
3+
"question": {
4+
"questionId": "2613",
5+
"questionFrontendId": "2474",
6+
"categoryTitle": "Database",
7+
"boundTopicId": 1979417,
8+
"title": "Customers With Strictly Increasing Purchases",
9+
"titleSlug": "customers-with-strictly-increasing-purchases",
10+
"content": null,
11+
"translatedTitle": null,
12+
"translatedContent": null,
13+
"isPaidOnly": true,
14+
"difficulty": "Hard",
15+
"likes": 0,
16+
"dislikes": 0,
17+
"isLiked": null,
18+
"similarQuestions": "[]",
19+
"contributors": [],
20+
"langToValidPlayground": null,
21+
"topicTags": [
22+
{
23+
"name": "Database",
24+
"slug": "database",
25+
"translatedName": "数据库",
26+
"__typename": "TopicTagNode"
27+
}
28+
],
29+
"companyTagStats": null,
30+
"codeSnippets": null,
31+
"stats": "{\"totalAccepted\": \"32\", \"totalSubmission\": \"49\", \"totalAcceptedRaw\": 32, \"totalSubmissionRaw\": 49, \"acRate\": \"65.3%\"}",
32+
"hints": [],
33+
"solution": null,
34+
"status": null,
35+
"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]]}}",
36+
"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}",
37+
"judgerAvailable": true,
38+
"judgeType": "large",
39+
"mysqlSchemas": [
40+
"Create table If Not Exists Orders (order_id int, customer_id int, order_date date, price int)",
41+
"Truncate table Orders",
42+
"insert into Orders (order_id, customer_id, order_date, price) values ('1', '1', '2019-07-01', '1100')",
43+
"insert into Orders (order_id, customer_id, order_date, price) values ('2', '1', '2019-11-01', '1200')",
44+
"insert into Orders (order_id, customer_id, order_date, price) values ('3', '1', '2020-05-26', '3000')",
45+
"insert into Orders (order_id, customer_id, order_date, price) values ('4', '1', '2021-08-31', '3100')",
46+
"insert into Orders (order_id, customer_id, order_date, price) values ('5', '1', '2022-12-07', '4700')",
47+
"insert into Orders (order_id, customer_id, order_date, price) values ('6', '2', '2015-01-01', '700')",
48+
"insert into Orders (order_id, customer_id, order_date, price) values ('7', '2', '2017-11-07', '1000')",
49+
"insert into Orders (order_id, customer_id, order_date, price) values ('8', '3', '2017-01-01', '900')",
50+
"insert into Orders (order_id, customer_id, order_date, price) values ('9', '3', '2018-11-07', '900')"
51+
],
52+
"enableRunCode": true,
53+
"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>\"]}",
54+
"book": null,
55+
"isSubscribed": false,
56+
"isDailyQuestion": false,
57+
"dailyRecordStatus": null,
58+
"editorType": "CKEDITOR",
59+
"ugcQuestionId": null,
60+
"style": "LEETCODE",
61+
"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]]}}",
62+
"__typename": "QuestionNode"
63+
}
64+
}
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"data": {
3+
"question": {
4+
"questionId": "2622",
5+
"questionFrontendId": "2480",
6+
"categoryTitle": "Database",
7+
"boundTopicId": 1988205,
8+
"title": "Form a Chemical Bond",
9+
"titleSlug": "form-a-chemical-bond",
10+
"content": null,
11+
"translatedTitle": null,
12+
"translatedContent": null,
13+
"isPaidOnly": true,
14+
"difficulty": "Easy",
15+
"likes": 0,
16+
"dislikes": 0,
17+
"isLiked": null,
18+
"similarQuestions": "[]",
19+
"contributors": [],
20+
"langToValidPlayground": null,
21+
"topicTags": [],
22+
"companyTagStats": null,
23+
"codeSnippets": null,
24+
"stats": "{\"totalAccepted\": \"17\", \"totalSubmission\": \"17\", \"totalAcceptedRaw\": 17, \"totalSubmissionRaw\": 17, \"acRate\": \"100.0%\"}",
25+
"hints": [],
26+
"solution": null,
27+
"status": null,
28+
"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]]}}",
29+
"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}",
30+
"judgerAvailable": true,
31+
"judgeType": "large",
32+
"mysqlSchemas": [
33+
"Create table If Not Exists Elements (symbol varchar(2), type ENUM('Metal','Nonmetal','Noble'), electrons int)",
34+
"Truncate table Elements",
35+
"insert into Elements (symbol, type, electrons) values ('He', 'Noble', '0')",
36+
"insert into Elements (symbol, type, electrons) values ('Na', 'Metal', '1')",
37+
"insert into Elements (symbol, type, electrons) values ('Ca', 'Metal', '2')",
38+
"insert into Elements (symbol, type, electrons) values ('La', 'Metal', '3')",
39+
"insert into Elements (symbol, type, electrons) values ('Cl', 'Nonmetal', '1')",
40+
"insert into Elements (symbol, type, electrons) values ('O', 'Nonmetal', '2')",
41+
"insert into Elements (symbol, type, electrons) values ('N', 'Nonmetal', '3')"
42+
],
43+
"enableRunCode": true,
44+
"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>\"]}",
45+
"book": null,
46+
"isSubscribed": false,
47+
"isDailyQuestion": false,
48+
"dailyRecordStatus": null,
49+
"editorType": "CKEDITOR",
50+
"ugcQuestionId": null,
51+
"style": "LEETCODE",
52+
"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]]}}",
53+
"__typename": "QuestionNode"
54+
}
55+
}
56+
}

0 commit comments

Comments
 (0)