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]the-number-of-employees-which-report-to-each-employee.json
2022-05-02 23:44:12 +08:00

60 lines
3.4 KiB
JSON

{
"data": {
"question": {
"questionId": "1882",
"questionFrontendId": "1731",
"categoryTitle": "Database",
"boundTopicId": 572194,
"title": "The Number of Employees Which Report to Each Employee",
"titleSlug": "the-number-of-employees-which-report-to-each-employee",
"content": null,
"translatedTitle": "每位经理的下属员工数量",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 7,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"3.1K\", \"totalSubmission\": \"6.8K\", \"totalAcceptedRaw\": 3099, \"totalSubmissionRaw\": 6794, \"acRate\": \"45.6%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Employees\":[\"employee_id\",\"name\",\"reports_to\",\"age\"]},\"rows\":{\"Employees\":[[9,\"Hercy\",null,43],[6,\"Alice\",9,41],[4,\"Bob\",9,36],[2,\"Winston\",null,37]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Employees(employee_id int, name varchar(20), reports_to int, age int)\"\n ],\n \"mssql\": [\n \"Create table Employees(employee_id int, name varchar(20), reports_to int, age int)\"\n ],\n \"oraclesql\": [\n \"Create table Employees(employee_id int, name varchar(20), reports_to int, age int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Employees(employee_id int, name varchar(20), reports_to int, age int)",
"Truncate table Employees",
"insert into Employees (employee_id, name, reports_to, age) values ('9', 'Hercy', 'None', '43')",
"insert into Employees (employee_id, name, reports_to, age) values ('6', 'Alice', '9', '41')",
"insert into Employees (employee_id, name, reports_to, age) values ('4', 'Bob', '9', '36')",
"insert into Employees (employee_id, name, reports_to, age) values ('2', 'Winston', 'None', '37')"
],
"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\",\"name\",\"reports_to\",\"age\"]},\"rows\":{\"Employees\":[[9,\"Hercy\",null,43],[6,\"Alice\",9,41],[4,\"Bob\",9,36],[2,\"Winston\",null,37]]}}",
"__typename": "QuestionNode"
}
}
}