2022-03-27 18:27:43 +08:00
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"question": {
|
|
|
|
"questionId": "2185",
|
|
|
|
"questionFrontendId": "2041",
|
|
|
|
"boundTopicId": null,
|
|
|
|
"title": "Accepted Candidates From the Interviews",
|
|
|
|
"titleSlug": "accepted-candidates-from-the-interviews",
|
|
|
|
"content": null,
|
|
|
|
"translatedTitle": null,
|
|
|
|
"translatedContent": null,
|
|
|
|
"isPaidOnly": true,
|
|
|
|
"difficulty": "Medium",
|
2022-05-02 23:44:12 +08:00
|
|
|
"likes": 20,
|
2022-03-27 18:27:43 +08:00
|
|
|
"dislikes": 17,
|
|
|
|
"isLiked": null,
|
|
|
|
"similarQuestions": "[]",
|
|
|
|
"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]]}}",
|
|
|
|
"categoryTitle": "Database",
|
|
|
|
"contributors": [],
|
|
|
|
"topicTags": [
|
|
|
|
{
|
|
|
|
"name": "Database",
|
|
|
|
"slug": "database",
|
|
|
|
"translatedName": null,
|
|
|
|
"__typename": "TopicTagNode"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"companyTagStats": null,
|
|
|
|
"codeSnippets": null,
|
2022-05-02 23:44:12 +08:00
|
|
|
"stats": "{\"totalAccepted\": \"3.1K\", \"totalSubmission\": \"3.9K\", \"totalAcceptedRaw\": 3054, \"totalSubmissionRaw\": 3928, \"acRate\": \"77.7%\"}",
|
2022-03-27 18:27:43 +08:00
|
|
|
"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": "{\n \"mysql\": [\n \"Create table If Not Exists Candidates (candidate_id int, name varchar(30), years_of_exp int, interview_id int)\",\n \"Create table If Not Exists Rounds (interview_id int, round_id int, score int)\"\n ],\n \"mssql\": [\n \"Create table Candidates (candidate_id int, name varchar(30), years_of_exp int, interview_id int)\",\n \"Create table Rounds (interview_id int, round_id int, score int)\"\n ],\n \"oraclesql\": [\n \"Create table Candidates (candidate_id int, name varchar(30), years_of_exp int, interview_id int)\",\n \"Create table Rounds (interview_id int, round_id int, score int)\"\n ],\n \"database\": true\n}",
|
|
|
|
"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,
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|