mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
58 lines
4.2 KiB
JSON
58 lines
4.2 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "3256",
|
|
"questionFrontendId": "3051",
|
|
"boundTopicId": null,
|
|
"title": "Find Candidates for Data Scientist Position",
|
|
"titleSlug": "find-candidates-for-data-scientist-position",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 5,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Candidates\":[\"candidate_id\",\"skill\"]},\"rows\":{\"Candidates\":[[123,\"Python\"],[234,\"R\"],[123,\"Tableau\"],[123,\"PostgreSQL\"],[234,\"PowerBI\"],[234,\"SQL Server\"],[147,\"Python\"],[147,\"Tableau\"],[147,\"Java\"],[147,\"PostgreSQL\"],[256,\"Tableau\"],[102,\"DataAnalysis\"]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"418\", \"totalSubmission\": \"571\", \"totalAcceptedRaw\": 418, \"totalSubmissionRaw\": 571, \"acRate\": \"73.2%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Candidates\":[\"candidate_id\",\"skill\"]},\"rows\":{\"Candidates\":[[123,\"Python\"],[234,\"R\"],[123,\"Tableau\"],[123,\"PostgreSQL\"],[234,\"PowerBI\"],[234,\"SQL Server\"],[147,\"Python\"],[147,\"Tableau\"],[147,\"Java\"],[147,\"PostgreSQL\"],[256,\"Tableau\"],[102,\"DataAnalysis\"]]}}",
|
|
"metaData": "{\"mysql\": [\"Create table If Not Exists Candidates (candidate_id int, skill varchar(30))\"], \"mssql\": [\"Create table Candidates (candidate_id int, skill varchar(30))\"], \"oraclesql\": [\"Create table Candidates (candidate_id int, skill varchar(30))\"], \"database\": true, \"name\": \"find_candidates\", \"pythondata\": [\"Candidates = pd.DataFrame([], columns=['candidate_id', 'skill']).astype({'candidate_id':'Int64', 'skill':'object'})\\n\"], \"postgresql\": [\"Create table If Not Exists Candidates (candidate_id int, skill varchar(30))\\n\"], \"database_schema\": {\"Candidates\": {\"candidate_id\": \"INT\", \"skill\": \"VARCHAR(30)\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Candidates (candidate_id int, skill varchar(30))",
|
|
"Truncate table Candidates",
|
|
"insert into Candidates (candidate_id, skill) values ('123', 'Python')",
|
|
"insert into Candidates (candidate_id, skill) values ('234', 'R')",
|
|
"insert into Candidates (candidate_id, skill) values ('123', 'Tableau')",
|
|
"insert into Candidates (candidate_id, skill) values ('123', 'PostgreSQL')",
|
|
"insert into Candidates (candidate_id, skill) values ('234', 'PowerBI')",
|
|
"insert into Candidates (candidate_id, skill) values ('234', 'SQL Server')",
|
|
"insert into Candidates (candidate_id, skill) values ('147', 'Python')",
|
|
"insert into Candidates (candidate_id, skill) values ('147', 'Tableau')",
|
|
"insert into Candidates (candidate_id, skill) values ('147', 'Java')",
|
|
"insert into Candidates (candidate_id, skill) values ('147', 'PostgreSQL')",
|
|
"insert into Candidates (candidate_id, skill) values ('256', 'Tableau')",
|
|
"insert into Candidates (candidate_id, skill) values ('102', 'DataAnalysis')"
|
|
],
|
|
"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>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
|
|
"libraryUrl": null,
|
|
"adminUrl": null,
|
|
"challengeQuestion": null,
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |