mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
58 lines
3.7 KiB
JSON
58 lines
3.7 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2030",
|
|
"questionFrontendId": "1875",
|
|
"boundTopicId": null,
|
|
"title": "Group Employees of the Same Salary",
|
|
"titleSlug": "group-employees-of-the-same-salary",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 69,
|
|
"dislikes": 5,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Employees\":[\"employee_id\",\"name\",\"salary\"]},\"rows\":{\"Employees\":[[2,\"Meir\",3000],[3,\"Michael\",3000],[7,\"Addilyn\",7400],[8,\"Juan\",6100],[9,\"Kannon\",7400]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"10.4K\", \"totalSubmission\": \"15.2K\", \"totalAcceptedRaw\": 10422, \"totalSubmissionRaw\": 15164, \"acRate\": \"68.7%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Employees\":[\"employee_id\",\"name\",\"salary\"]},\"rows\":{\"Employees\":[[2,\"Meir\",3000],[3,\"Michael\",3000],[7,\"Addilyn\",7400],[8,\"Juan\",6100],[9,\"Kannon\",7400]]}}",
|
|
"metaData": "{\"mysql\": [\"Create table If Not Exists Employees (employee_id int, name varchar(30), salary int)\"], \"mssql\": [\"Create table Employees (employee_id int, name varchar(30), salary int)\"], \"oraclesql\": [\"Create table Employees (employee_id int, name varchar(30), salary int)\"], \"database\": true, \"name\": \"employees_of_same_salary\", \"pythondata\": [\"Employees = pd.DataFrame([], columns=['employee_id', 'name', 'salary']).astype({'employee_id':'Int64', 'name':'object', 'salary':'Int64'})\"], \"postgresql\": [\"Create table If Not Exists Employees (employee_id int, name varchar(30), salary int)\"], \"database_schema\": {\"Employees\": {\"employee_id\": \"INT\", \"name\": \"VARCHAR(30)\", \"salary\": \"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Employees (employee_id int, name varchar(30), salary int)",
|
|
"Truncate table Employees",
|
|
"insert into Employees (employee_id, name, salary) values ('2', 'Meir', '3000')",
|
|
"insert into Employees (employee_id, name, salary) values ('3', 'Michael', '3000')",
|
|
"insert into Employees (employee_id, name, salary) values ('7', 'Addilyn', '7400')",
|
|
"insert into Employees (employee_id, name, salary) values ('8', 'Juan', '6100')",
|
|
"insert into Employees (employee_id, name, salary) values ('9', 'Kannon', '7400')"
|
|
],
|
|
"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>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
|
|
"libraryUrl": null,
|
|
"adminUrl": null,
|
|
"challengeQuestion": null,
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |