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-seniors-and-juniors-to-join-the-company.json
2022-05-02 23:44:12 +08:00

55 lines
3.8 KiB
JSON

{
"data": {
"question": {
"questionId": "2152",
"questionFrontendId": "2004",
"categoryTitle": "Database",
"boundTopicId": 994845,
"title": "The Number of Seniors and Juniors to Join the Company",
"titleSlug": "the-number-of-seniors-and-juniors-to-join-the-company",
"content": null,
"translatedTitle": "职员招聘人数",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Hard",
"likes": 2,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"507\", \"totalSubmission\": \"1.2K\", \"totalAcceptedRaw\": 507, \"totalSubmissionRaw\": 1225, \"acRate\": \"41.4%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Candidates\":[\"employee_id\",\"experience\",\"salary\"]},\"rows\":{\"Candidates\":[[1,\"Junior\",10000],[9,\"Junior\",10000],[2,\"Senior\",20000],[11,\"Senior\",20000],[13,\"Senior\",50000],[4,\"Junior\",40000]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Candidates (employee_id int, experience ENUM('Senior', 'Junior'), salary int)\"\n ],\n \"mssql\": [\n \"Create table Candidates (employee_id int, experience VARCHAR(6) NOT NULL CHECK (experience IN ('Senior', 'Junior')), salary int)\"\n ],\n \"oraclesql\": [\n \"Create table Candidates (employee_id int, experience VARCHAR(6) NOT NULL CHECK (experience IN ('Senior', 'Junior')), salary int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Candidates (employee_id int, experience ENUM('Senior', 'Junior'), salary int)",
"Truncate table Candidates",
"insert into Candidates (employee_id, experience, salary) values ('1', 'Junior', '10000')",
"insert into Candidates (employee_id, experience, salary) values ('9', 'Junior', '10000')",
"insert into Candidates (employee_id, experience, salary) values ('2', 'Senior', '20000')",
"insert into Candidates (employee_id, experience, salary) values ('11', 'Senior', '20000')",
"insert into Candidates (employee_id, experience, salary) values ('13', 'Senior', '50000')",
"insert into Candidates (employee_id, experience, salary) values ('4', 'Junior', '40000')"
],
"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\":{\"Candidates\":[\"employee_id\",\"experience\",\"salary\"]},\"rows\":{\"Candidates\":[[1,\"Junior\",10000],[9,\"Junior\",10000],[2,\"Senior\",20000],[11,\"Senior\",20000],[13,\"Senior\",50000],[4,\"Junior\",40000]]}}\n{\"headers\":{\"Candidates\":[\"employee_id\",\"experience\",\"salary\"]},\"rows\":{\"Candidates\":[[1,\"Junior\",10000],[9,\"Junior\",10000],[2,\"Senior\",80000],[11,\"Senior\",80000],[13,\"Senior\",80000],[4,\"Junior\",40000]]}}",
"__typename": "QuestionNode"
}
}
}