mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
70 lines
6.0 KiB
JSON
70 lines
6.0 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1964",
|
|
"questionFrontendId": "1811",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 696559,
|
|
"title": "Find Interview Candidates",
|
|
"titleSlug": "find-interview-candidates",
|
|
"content": null,
|
|
"translatedTitle": "寻找面试候选人",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 28,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"3.6K\", \"totalSubmission\": \"5.8K\", \"totalAcceptedRaw\": 3598, \"totalSubmissionRaw\": 5767, \"acRate\": \"62.4%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Contests\":[\"contest_id\",\"gold_medal\",\"silver_medal\",\"bronze_medal\"],\"Users\":[\"user_id\",\"mail\",\"name\"]},\"rows\":{\"Contests\":[[190,1,5,2],[191,2,3,5],[192,5,2,3],[193,1,3,5],[194,4,5,2],[195,4,2,1],[196,1,5,2]],\"Users\":[[1,\"sarah@leetcode.com\",\"Sarah\"],[2,\"bob@leetcode.com\",\"Bob\"],[3,\"alice@leetcode.com\",\"Alice\"],[4,\"hercy@leetcode.com\",\"Hercy\"],[5,\"quarz@leetcode.com\",\"Quarz\"]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Contests (contest_id int, gold_medal int, silver_medal int, bronze_medal int)\",\"Create table If Not Exists Users (user_id int, mail varchar(50), name varchar(30))\"],\"mssql\":[\"Create table Contests (contest_id int, gold_medal int, silver_medal int, bronze_medal int)\",\"Create table Users (user_id int, mail varchar(50), name varchar(30))\"],\"oraclesql\":[\"Create table Contests (contest_id int, gold_medal int, silver_medal int, bronze_medal int)\",\"Create table Users (user_id int, mail varchar(50), name varchar(30))\"],\"database\":true,\"name\":\"find_interview_candidates\",\"pythondata\":[\"Contests = pd.DataFrame([], columns=['contest_id', 'gold_medal', 'silver_medal', 'bronze_medal']).astype({'contest_id':'Int64', 'gold_medal':'Int64', 'silver_medal':'Int64', 'bronze_medal':'Int64'})\",\"Users = pd.DataFrame([], columns=['user_id', 'mail', 'name']).astype({'user_id':'Int64', 'mail':'object', 'name':'object'})\"],\"postgresql\":[\"\\nCreate table If Not Exists Contests (contest_id int, gold_medal int, silver_medal int, bronze_medal int)\",\"Create table If Not Exists Users (user_id int, mail varchar(50), name varchar(30))\"],\"database_schema\":{\"Contests\":{\"contest_id\":\"INT\",\"gold_medal\":\"INT\",\"silver_medal\":\"INT\",\"bronze_medal\":\"INT\"},\"Users\":{\"user_id\":\"INT\",\"mail\":\"VARCHAR(50)\",\"name\":\"VARCHAR(30)\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Contests (contest_id int, gold_medal int, silver_medal int, bronze_medal int)",
|
|
"Create table If Not Exists Users (user_id int, mail varchar(50), name varchar(30))",
|
|
"Truncate table Contests",
|
|
"insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('190', '1', '5', '2')",
|
|
"insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('191', '2', '3', '5')",
|
|
"insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('192', '5', '2', '3')",
|
|
"insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('193', '1', '3', '5')",
|
|
"insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('194', '4', '5', '2')",
|
|
"insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('195', '4', '2', '1')",
|
|
"insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('196', '1', '5', '2')",
|
|
"Truncate table Users",
|
|
"insert into Users (user_id, mail, name) values ('1', 'sarah@leetcode.com', 'Sarah')",
|
|
"insert into Users (user_id, mail, name) values ('2', 'bob@leetcode.com', 'Bob')",
|
|
"insert into Users (user_id, mail, name) values ('3', 'alice@leetcode.com', 'Alice')",
|
|
"insert into Users (user_id, mail, name) values ('4', 'hercy@leetcode.com', 'Hercy')",
|
|
"insert into Users (user_id, mail, name) values ('5', 'quarz@leetcode.com', 'Quarz')"
|
|
],
|
|
"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\":{\"Contests\":[\"contest_id\",\"gold_medal\",\"silver_medal\",\"bronze_medal\"],\"Users\":[\"user_id\",\"mail\",\"name\"]},\"rows\":{\"Contests\":[[190,1,5,2],[191,2,3,5],[192,5,2,3],[193,1,3,5],[194,4,5,2],[195,4,2,1],[196,1,5,2]],\"Users\":[[1,\"sarah@leetcode.com\",\"Sarah\"],[2,\"bob@leetcode.com\",\"Bob\"],[3,\"alice@leetcode.com\",\"Alice\"],[4,\"hercy@leetcode.com\",\"Hercy\"],[5,\"quarz@leetcode.com\",\"Quarz\"]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |