1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/originData/[no content]all-people-report-to-the-given-manager.json
2022-05-02 23:44:12 +08:00

64 lines
3.9 KiB
JSON

{
"data": {
"question": {
"questionId": "1405",
"questionFrontendId": "1270",
"categoryTitle": "Database",
"boundTopicId": 47942,
"title": "All People Report to the Given Manager",
"titleSlug": "all-people-report-to-the-given-manager",
"content": null,
"translatedTitle": "向公司CEO汇报工作的所有人",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 52,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"7.7K\", \"totalSubmission\": \"9.5K\", \"totalAcceptedRaw\": 7659, \"totalSubmissionRaw\": 9504, \"acRate\": \"80.6%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Employees\":[\"employee_id\",\"employee_name\",\"manager_id\"]},\"rows\":{\"Employees\":[[1,\"Boss\",1],[3,\"Alice\",3],[2,\"Bob\",1],[4,\"Daniel\",2],[7,\"Luis\",4],[8,\"John\",3],[9,\"Angela\",8],[77,\"Robert\",1]]}}\r",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Employees (employee_id int, employee_name varchar(30), manager_id int)\"\n ],\n \"mssql\": [\n \"Create table Employees (employee_id int, employee_name varchar(30), manager_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Employees (employee_id int, employee_name varchar(30), manager_id int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Employees (employee_id int, employee_name varchar(30), manager_id int)",
"Truncate table Employees",
"insert into Employees (employee_id, employee_name, manager_id) values ('1', 'Boss', '1')",
"insert into Employees (employee_id, employee_name, manager_id) values ('3', 'Alice', '3')",
"insert into Employees (employee_id, employee_name, manager_id) values ('2', 'Bob', '1')",
"insert into Employees (employee_id, employee_name, manager_id) values ('4', 'Daniel', '2')",
"insert into Employees (employee_id, employee_name, manager_id) values ('7', 'Luis', '4')",
"insert into Employees (employee_id, employee_name, manager_id) values ('8', 'John', '3')",
"insert into Employees (employee_id, employee_name, manager_id) values ('9', 'Angela', '8')",
"insert into Employees (employee_id, employee_name, manager_id) values ('77', 'Robert', '1')"
],
"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\":[\"employee_id\",\"employee_name\",\"manager_id\"]},\"rows\":{\"Employees\":[[1,\"Boss\",1],[3,\"Alice\",3],[2,\"Bob\",1],[4,\"Daniel\",2],[7,\"Luis\",4],[8,\"John\",3],[9,\"Angela\",8],[77,\"Robert\",1]]}}",
"__typename": "QuestionNode"
}
}
}