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/originData/[no content]the-number-of-employees-which-report-to-each-employee.json

57 lines
3.3 KiB
JSON
Raw Normal View History

2022-03-27 18:27:43 +08:00
{
"data": {
"question": {
"questionId": "1882",
"questionFrontendId": "1731",
"boundTopicId": null,
"title": "The Number of Employees Which Report to Each Employee",
"titleSlug": "the-number-of-employees-which-report-to-each-employee",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 53,
"dislikes": 15,
"isLiked": null,
"similarQuestions": "[]",
"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]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"9.1K\", \"totalSubmission\": \"18.6K\", \"totalAcceptedRaw\": 9101, \"totalSubmissionRaw\": 18569, \"acRate\": \"49.0%\"}",
"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,
"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"
}
}
}