mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 11:21:42 +08:00
add leetcode problem-cn part1
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "1495",
|
||||
"questionFrontendId": "1364",
|
||||
"categoryTitle": "Database",
|
||||
"boundTopicId": 111951,
|
||||
"title": "Number of Trusted Contacts of a Customer",
|
||||
"titleSlug": "number-of-trusted-contacts-of-a-customer",
|
||||
"content": null,
|
||||
"translatedTitle": "顾客的可信联系人数量",
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Medium",
|
||||
"likes": 14,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"contributors": [],
|
||||
"langToValidPlayground": null,
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": "数据库",
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"4.4K\", \"totalSubmission\": \"6.3K\", \"totalAcceptedRaw\": 4370, \"totalSubmissionRaw\": 6341, \"acRate\": \"68.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\":{\"Customers\":[\"customer_id\",\"customer_name\",\"email\"],\"Contacts\":[\"user_id\",\"contact_name\",\"contact_email\"],\"Invoices\":[\"invoice_id\",\"price\",\"user_id\"]},\"rows\":{\"Customers\":[[1,\"Alice\",\"alice@leetcode.com\"],[2,\"Bob\",\"bob@leetcode.com\"],[13,\"John\",\"john@leetcode.com\"],[6,\"Alex\",\"alex@leetcode.com\"]],\"Contacts\":[[1,\"Bob\",\"bob@leetcode.com\"],[1,\"John\",\"john@leetcode.com\"],[1,\"Jal\",\"jal@leetcode.com\"],[2,\"Omar\",\"omar@leetcode.com\"],[2,\"Meir\",\"meir@leetcode.com\"],[6,\"Alice\",\"alice@leetcode.com\"]],\"Invoices\":[[77,100,1],[88,200,1],[99,300,2],[66,400,2],[55,500,13],[44,60,6]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Customers (customer_id int, customer_name varchar(20), email varchar(30))\",\n \"Create table If Not Exists Contacts (user_id int, contact_name varchar(20), contact_email varchar(30))\",\n \"Create table If Not Exists Invoices (invoice_id int, price int, user_id int)\"\n ],\n \"mssql\": [\n \"Create table Customers (customer_id int, customer_name varchar(20), email varchar(30))\",\n \"Create table Contacts (user_id int, contact_name varchar(20), contact_email varchar(30))\",\n \"Create table Invoices (invoice_id int, price int, user_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Customers (customer_id int, customer_name varchar(20), email varchar(30))\",\n \"Create table Contacts (user_id int, contact_name varchar(20), contact_email varchar(30))\",\n \"Create table Invoices (invoice_id int, price int, user_id int)\"\n ],\n \"database\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Create table If Not Exists Customers (customer_id int, customer_name varchar(20), email varchar(30))",
|
||||
"Create table If Not Exists Contacts (user_id int, contact_name varchar(20), contact_email varchar(30))",
|
||||
"Create table If Not Exists Invoices (invoice_id int, price int, user_id int)",
|
||||
"Truncate table Customers",
|
||||
"insert into Customers (customer_id, customer_name, email) values ('1', 'Alice', 'alice@leetcode.com')",
|
||||
"insert into Customers (customer_id, customer_name, email) values ('2', 'Bob', 'bob@leetcode.com')",
|
||||
"insert into Customers (customer_id, customer_name, email) values ('13', 'John', 'john@leetcode.com')",
|
||||
"insert into Customers (customer_id, customer_name, email) values ('6', 'Alex', 'alex@leetcode.com')",
|
||||
"Truncate table Contacts",
|
||||
"insert into Contacts (user_id, contact_name, contact_email) values ('1', 'Bob', 'bob@leetcode.com')",
|
||||
"insert into Contacts (user_id, contact_name, contact_email) values ('1', 'John', 'john@leetcode.com')",
|
||||
"insert into Contacts (user_id, contact_name, contact_email) values ('1', 'Jal', 'jal@leetcode.com')",
|
||||
"insert into Contacts (user_id, contact_name, contact_email) values ('2', 'Omar', 'omar@leetcode.com')",
|
||||
"insert into Contacts (user_id, contact_name, contact_email) values ('2', 'Meir', 'meir@leetcode.com')",
|
||||
"insert into Contacts (user_id, contact_name, contact_email) values ('6', 'Alice', 'alice@leetcode.com')",
|
||||
"Truncate table Invoices",
|
||||
"insert into Invoices (invoice_id, price, user_id) values ('77', '100', '1')",
|
||||
"insert into Invoices (invoice_id, price, user_id) values ('88', '200', '1')",
|
||||
"insert into Invoices (invoice_id, price, user_id) values ('99', '300', '2')",
|
||||
"insert into Invoices (invoice_id, price, user_id) values ('66', '400', '2')",
|
||||
"insert into Invoices (invoice_id, price, user_id) values ('55', '500', '13')",
|
||||
"insert into Invoices (invoice_id, price, user_id) values ('44', '60', '6')"
|
||||
],
|
||||
"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\":{\"Customers\":[\"customer_id\",\"customer_name\",\"email\"],\"Contacts\":[\"user_id\",\"contact_name\",\"contact_email\"],\"Invoices\":[\"invoice_id\",\"price\",\"user_id\"]},\"rows\":{\"Customers\":[[1,\"Alice\",\"alice@leetcode.com\"],[2,\"Bob\",\"bob@leetcode.com\"],[13,\"John\",\"john@leetcode.com\"],[6,\"Alex\",\"alex@leetcode.com\"]],\"Contacts\":[[1,\"Bob\",\"bob@leetcode.com\"],[1,\"John\",\"john@leetcode.com\"],[1,\"Jal\",\"jal@leetcode.com\"],[2,\"Omar\",\"omar@leetcode.com\"],[2,\"Meir\",\"meir@leetcode.com\"],[6,\"Alice\",\"alice@leetcode.com\"]],\"Invoices\":[[77,100,1],[88,200,1],[99,300,2],[66,400,2],[55,500,13],[44,60,6]]}}",
|
||||
"__typename": "QuestionNode"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user