mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
74 lines
6.2 KiB
JSON
74 lines
6.2 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2185",
|
|
"questionFrontendId": "2041",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 1051111,
|
|
"title": "Accepted Candidates From the Interviews",
|
|
"titleSlug": "accepted-candidates-from-the-interviews",
|
|
"content": null,
|
|
"translatedTitle": "面试中被录取的候选人",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 7,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"2.5K\", \"totalSubmission\": \"3.3K\", \"totalAcceptedRaw\": 2502, \"totalSubmissionRaw\": 3281, \"acRate\": \"76.3%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Candidates\":[\"candidate_id\",\"name\",\"years_of_exp\",\"interview_id\"],\"Rounds\":[\"interview_id\",\"round_id\",\"score\"]},\"rows\":{\"Candidates\":[[11,\"Atticus\",1,101],[9,\"Ruben\",6,104],[6,\"Aliza\",10,109],[8,\"Alfredo\",0,107]],\"Rounds\":[[109,3,4],[101,2,8],[109,4,1],[107,1,3],[104,3,6],[109,1,4],[104,4,7],[104,1,2],[109,2,1],[104,2,7],[107,2,3],[101,1,8]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Candidates (candidate_id int, name varchar(30), years_of_exp int, interview_id int)\",\"Create table If Not Exists Rounds (interview_id int, round_id int, score int)\"],\"mssql\":[\"Create table Candidates (candidate_id int, name varchar(30), years_of_exp int, interview_id int)\",\"Create table Rounds (interview_id int, round_id int, score int)\"],\"oraclesql\":[\"Create table Candidates (candidate_id int, name varchar(30), years_of_exp int, interview_id int)\",\"Create table Rounds (interview_id int, round_id int, score int)\"],\"database\":true,\"name\":\"accepted_candidates\",\"pythondata\":[\"Candidates = pd.DataFrame([], columns=['candidate_id', 'name', 'years_of_exp', 'interview_id']).astype({'candidate_id':'Int64', 'name':'object', 'years_of_exp':'Int64', 'interview_id':'Int64'})\",\"Rounds = pd.DataFrame([], columns=['interview_id', 'round_id', 'score']).astype({'interview_id':'Int64', 'round_id':'Int64', 'score':'Int64'})\"],\"postgresql\":[\"Create table If Not Exists Candidates (candidate_id int, name varchar(30), years_of_exp int, interview_id int)\",\"Create table If Not Exists Rounds (interview_id int, round_id int, score int)\"],\"database_schema\":{\"Candidates\":{\"candidate_id\":\"INT\",\"name\":\"VARCHAR(30)\",\"years_of_exp\":\"INT\",\"interview_id\":\"INT\"},\"Rounds\":{\"interview_id\":\"INT\",\"round_id\":\"INT\",\"score\":\"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Candidates (candidate_id int, name varchar(30), years_of_exp int, interview_id int)",
|
|
"Create table If Not Exists Rounds (interview_id int, round_id int, score int)",
|
|
"Truncate table Candidates",
|
|
"insert into Candidates (candidate_id, name, years_of_exp, interview_id) values ('11', 'Atticus', '1', '101')",
|
|
"insert into Candidates (candidate_id, name, years_of_exp, interview_id) values ('9', 'Ruben', '6', '104')",
|
|
"insert into Candidates (candidate_id, name, years_of_exp, interview_id) values ('6', 'Aliza', '10', '109')",
|
|
"insert into Candidates (candidate_id, name, years_of_exp, interview_id) values ('8', 'Alfredo', '0', '107')",
|
|
"Truncate table Rounds",
|
|
"insert into Rounds (interview_id, round_id, score) values ('109', '3', '4')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('101', '2', '8')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('109', '4', '1')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('107', '1', '3')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('104', '3', '6')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('109', '1', '4')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('104', '4', '7')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('104', '1', '2')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('109', '2', '1')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('104', '2', '7')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('107', '2', '3')",
|
|
"insert into Rounds (interview_id, round_id, score) values ('101', '1', '8')"
|
|
],
|
|
"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>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\":{\"Candidates\":[\"candidate_id\",\"name\",\"years_of_exp\",\"interview_id\"],\"Rounds\":[\"interview_id\",\"round_id\",\"score\"]},\"rows\":{\"Candidates\":[[11,\"Atticus\",1,101],[9,\"Ruben\",6,104],[6,\"Aliza\",10,109],[8,\"Alfredo\",0,107]],\"Rounds\":[[109,3,4],[101,2,8],[109,4,1],[107,1,3],[104,3,6],[109,1,4],[104,4,7],[104,1,2],[109,2,1],[104,2,7],[107,2,3],[101,1,8]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |