1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-12 02:41:42 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

add scripts and problemset

This commit is contained in:
2022-03-27 18:27:43 +08:00
parent e632b8e00c
commit adb80564bd
1653 changed files with 379412 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
{
"data": {
"question": {
"questionId": "1509",
"questionFrontendId": "1378",
"boundTopicId": null,
"title": "Replace Employee ID With The Unique Identifier",
"titleSlug": "replace-employee-id-with-the-unique-identifier",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 60,
"dislikes": 30,
"isLiked": null,
"similarQuestions": "[]",
"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]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"27.6K\", \"totalSubmission\": \"30.3K\", \"totalAcceptedRaw\": 27620, \"totalSubmissionRaw\": 30319, \"acRate\": \"91.1%\"}",
"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,
"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"
}
}
}