mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
62 lines
3.5 KiB
JSON
62 lines
3.5 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1438",
|
|
"questionFrontendId": "1303",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 64623,
|
|
"title": "Find the Team Size",
|
|
"titleSlug": "find-the-team-size",
|
|
"content": null,
|
|
"translatedTitle": "求团队人数",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 65,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"23.3K\", \"totalSubmission\": \"28.3K\", \"totalAcceptedRaw\": 23334, \"totalSubmissionRaw\": 28252, \"acRate\": \"82.6%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Employee\":[\"employee_id\",\"team_id\"]},\"rows\":{\"Employee\":[[1,8],[2,8],[3,8],[4,7],[5,9],[6,9]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Employee (employee_id int, team_id int)\"],\"mssql\":[\"Create table Employee (employee_id int, team_id int)\"],\"oraclesql\":[\"Create table Employee (employee_id int, team_id int)\"],\"database\":true,\"name\":\"team_size\",\"pythondata\":[\"Employee = pd.DataFrame([], columns=['employee_id', 'team_id']).astype({'employee_id':'Int64', 'team_id':'Int64'})\"],\"postgresql\":[\"\\nCreate table If Not Exists Employee (employee_id int, team_id int)\"],\"database_schema\":{\"Employee\":{\"employee_id\":\"INT\",\"team_id\":\"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Employee (employee_id int, team_id int)",
|
|
"Truncate table Employee",
|
|
"insert into Employee (employee_id, team_id) values ('1', '8')",
|
|
"insert into Employee (employee_id, team_id) values ('2', '8')",
|
|
"insert into Employee (employee_id, team_id) values ('3', '8')",
|
|
"insert into Employee (employee_id, team_id) values ('4', '7')",
|
|
"insert into Employee (employee_id, team_id) values ('5', '9')",
|
|
"insert into Employee (employee_id, team_id) values ('6', '9')"
|
|
],
|
|
"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\":{\"Employee\":[\"employee_id\",\"team_id\"]},\"rows\":{\"Employee\":[[1,8],[2,8],[3,8],[4,7],[5,9],[6,9]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |