1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]grand-slam-titles.json

61 lines
4.9 KiB
JSON
Raw Normal View History

2022-03-27 18:27:43 +08:00
{
"data": {
"question": {
"questionId": "1932",
"questionFrontendId": "1783",
"boundTopicId": null,
"title": "Grand Slam Titles",
"titleSlug": "grand-slam-titles",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
2023-12-09 18:42:21 +08:00
"likes": 220,
"dislikes": 7,
2022-03-27 18:27:43 +08:00
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "{\"headers\": {\"Players\": [\"player_id\", \"player_name\"], \"Championships\": [\"year\", \"Wimbledon\", \"Fr_open\", \"US_open\", \"Au_open\"]}, \"rows\": {\"Players\": [[1, \"Nadal\"], [2, \"Federer\"], [3, \"Novak\"]], \"Championships\": [[2018, 1, 1, 1, 1], [2019, 1, 1, 2, 2], [2020, 2, 1, 2, 2]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
2023-12-09 19:57:46 +08:00
"stats": "{\"totalAccepted\": \"21.7K\", \"totalSubmission\": \"25.8K\", \"totalAcceptedRaw\": 21720, \"totalSubmissionRaw\": 25759, \"acRate\": \"84.3%\"}",
2022-03-27 18:27:43 +08:00
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\": {\"Players\": [\"player_id\", \"player_name\"], \"Championships\": [\"year\", \"Wimbledon\", \"Fr_open\", \"US_open\", \"Au_open\"]}, \"rows\": {\"Players\": [[1, \"Nadal\"], [2, \"Federer\"], [3, \"Novak\"]], \"Championships\": [[2018, 1, 1, 1, 1], [2019, 1, 1, 2, 2], [2020, 2, 1, 2, 2]]}}",
2023-12-09 18:42:21 +08:00
"metaData": "{\"mysql\": [\"Create table If Not Exists Players (player_id int, player_name varchar(20))\", \"Create table If Not Exists Championships (year int, Wimbledon int, Fr_open int, US_open int, Au_open int)\"], \"mssql\": [\"Create table Players (player_id int, player_name varchar(20))\", \"Create table Championships (year int, Wimbledon int, Fr_open int, US_open int, Au_open int)\"], \"oraclesql\": [\"Create table Players (player_id int, player_name varchar(20))\", \"Create table Championships (year int, Wimbledon int, Fr_open int, US_open int, Au_open int)\"], \"database\": true, \"name\": \"grand_slam_titles\", \"pythondata\": [\"Players = pd.DataFrame([], columns=['player_id', 'player_name']).astype({'player_id':'Int64', 'player_name':'object'})\", \"Championships = pd.DataFrame([], columns=['year', 'Wimbledon', 'Fr_open', 'US_open', 'Au_open']).astype({'year':'Int64', 'Wimbledon':'Int64', 'Fr_open':'Int64', 'US_open':'Int64', 'Au_open':'Int64'})\"], \"postgresql\": [\"\\nCreate table If Not Exists Players (player_id int, player_name varchar(20))\\n\", \"Create table If Not Exists Championships (year int, Wimbledon int, Fr_open int, US_open int, Au_open int)\"], \"database_schema\": {\"Players\": {\"player_id\": \"INT\", \"player_name\": \"VARCHAR(20)\"}, \"Championships\": {\"year\": \"INT\", \"Wimbledon\": \"INT\", \"Fr_open\": \"INT\", \"US_open\": \"INT\", \"Au_open\": \"INT\"}}}",
2022-03-27 18:27:43 +08:00
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Players (player_id int, player_name varchar(20))",
"Create table If Not Exists Championships (year int, Wimbledon int, Fr_open int, US_open int, Au_open int)",
"Truncate table Players",
"insert into Players (player_id, player_name) values ('1', 'Nadal')",
"insert into Players (player_id, player_name) values ('2', 'Federer')",
"insert into Players (player_id, player_name) values ('3', 'Novak')",
"Truncate table Championships",
"insert into Championships (year, Wimbledon, Fr_open, US_open, Au_open) values ('2018', '1', '1', '1', '1')",
"insert into Championships (year, Wimbledon, Fr_open, US_open, Au_open) values ('2019', '1', '1', '2', '2')",
"insert into Championships (year, Wimbledon, Fr_open, US_open, Au_open) values ('2020', '2', '1', '2', '2')"
],
"enableRunCode": true,
"enableTestMode": false,
"enableDebugger": false,
2023-12-09 18:42:21 +08:00
"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>\"]}",
2022-03-27 18:27:43 +08:00
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}