mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
59 lines
3.8 KiB
JSON
59 lines
3.8 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2158",
|
|
"questionFrontendId": "2010",
|
|
"boundTopicId": null,
|
|
"title": "The Number of Seniors and Juniors to Join the Company II",
|
|
"titleSlug": "the-number-of-seniors-and-juniors-to-join-the-company-ii",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Hard",
|
|
"likes": 11,
|
|
"dislikes": 5,
|
|
"isLiked": null,
|
|
"similarQuestions": "[{\"title\": \"Last Person to Fit in the Bus\", \"titleSlug\": \"last-person-to-fit-in-the-bus\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"The Number of Seniors and Juniors to Join the Company\", \"titleSlug\": \"the-number-of-seniors-and-juniors-to-join-the-company\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
|
|
"exampleTestcases": null,
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"1.7K\", \"totalSubmission\": \"3K\", \"totalAcceptedRaw\": 1727, \"totalSubmissionRaw\": 3028, \"acRate\": \"57.0%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Candidates\":[\"employee_id\",\"experience\",\"salary\"]},\"rows\":{\"Candidates\":[[1,\"Junior\",10000],[9,\"Junior\",15000],[2,\"Senior\",20000],[11,\"Senior\",16000],[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', '15000')",
|
|
"insert into Candidates (employee_id, experience, salary) values ('2', 'Senior', '20000')",
|
|
"insert into Candidates (employee_id, experience, salary) values ('11', 'Senior', '16000')",
|
|
"insert into Candidates (employee_id, experience, salary) values ('13', 'Senior', '50000')",
|
|
"insert into Candidates (employee_id, experience, salary) values ('4', 'Junior', '40000')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |