mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 19:31:42 +08:00
add leetcode problem-cn part1
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "1509",
|
||||
"questionFrontendId": "1378",
|
||||
"categoryTitle": "Database",
|
||||
"boundTopicId": 145923,
|
||||
"title": "Replace Employee ID With The Unique Identifier",
|
||||
"titleSlug": "replace-employee-id-with-the-unique-identifier",
|
||||
"content": null,
|
||||
"translatedTitle": "使用唯一标识码替换员工ID",
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Easy",
|
||||
"likes": 13,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"contributors": [],
|
||||
"langToValidPlayground": null,
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": "数据库",
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"8.6K\", \"totalSubmission\": \"9.9K\", \"totalAcceptedRaw\": 8642, \"totalSubmissionRaw\": 9950, \"acRate\": \"86.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\":{\"Employees\":[\"id\",\"name\"],\"EmployeeUNI\":[\"id\",\"unique_id\"]},\"rows\":{\"Employees\":[[1,\"Alice\"],[7,\"Bob\"],[11,\"Meir\"],[90,\"Winston\"],[3,\"Jonathan\"]],\"EmployeeUNI\":[[3,1],[11,2],[90,3]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Employees (id int, name varchar(20))\",\n \"Create table If Not Exists EmployeeUNI (id int, unique_id int)\"\n ],\n \"mssql\": [\n \"Create table Employees (id int, name varchar(20))\",\n \"Create table EmployeeUNI (id int, unique_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Employees (id int, name varchar(20))\",\n \"Create table EmployeeUNI (id int, unique_id int)\"\n ],\n \"database\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Create table If Not Exists Employees (id int, name varchar(20))",
|
||||
"Create table If Not Exists EmployeeUNI (id int, unique_id int)",
|
||||
"Truncate table Employees",
|
||||
"insert into Employees (id, name) values ('1', 'Alice')",
|
||||
"insert into Employees (id, name) values ('7', 'Bob')",
|
||||
"insert into Employees (id, name) values ('11', 'Meir')",
|
||||
"insert into Employees (id, name) values ('90', 'Winston')",
|
||||
"insert into Employees (id, name) values ('3', 'Jonathan')",
|
||||
"Truncate table EmployeeUNI",
|
||||
"insert into EmployeeUNI (id, unique_id) values ('3', '1')",
|
||||
"insert into EmployeeUNI (id, unique_id) values ('11', '2')",
|
||||
"insert into EmployeeUNI (id, unique_id) values ('90', '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\":{\"Employees\":[\"id\",\"name\"],\"EmployeeUNI\":[\"id\",\"unique_id\"]},\"rows\":{\"Employees\":[[1,\"Alice\"],[7,\"Bob\"],[11,\"Meir\"],[90,\"Winston\"],[3,\"Jonathan\"]],\"EmployeeUNI\":[[3,1],[11,2],[90,3]]}}",
|
||||
"__typename": "QuestionNode"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user