mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-11 02:58:13 +08:00
59 lines
3.9 KiB
JSON
59 lines
3.9 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2252",
|
|
"questionFrontendId": "2112",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 1166950,
|
|
"title": "The Airport With the Most Traffic",
|
|
"titleSlug": "the-airport-with-the-most-traffic",
|
|
"content": null,
|
|
"translatedTitle": "最繁忙的机场",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 7,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"1.7K\", \"totalSubmission\": \"2.5K\", \"totalAcceptedRaw\": 1682, \"totalSubmissionRaw\": 2494, \"acRate\": \"67.4%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Flights\":[\"departure_airport\",\"arrival_airport\",\"flights_count\"]},\"rows\":{\"Flights\":[[1,2,4],[2,1,5],[2,4,5]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Flights (departure_airport int, arrival_airport int, flights_count int)\"],\"mssql\":[\"Create table Flights (departure_airport int, arrival_airport int, flights_count int)\"],\"oraclesql\":[\"Create table Flights (departure_airport int, arrival_airport int, flights_count int)\"],\"database\":true,\"name\":\"airport_with_most_traffic\",\"pythondata\":[\"Flights = pd.DataFrame([], columns=['departure_airport', 'arrival_airport', 'flights_count']).astype({'departure_airport':'Int64', 'arrival_airport':'Int64', 'flights_count':'Int64'})\"],\"postgresql\":[\"Create table If Not Exists Flights (departure_airport int, arrival_airport int, flights_count int)\"],\"database_schema\":{\"Flights\":{\"departure_airport\":\"INT\",\"arrival_airport\":\"INT\",\"flights_count\":\"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Flights (departure_airport int, arrival_airport int, flights_count int)",
|
|
"Truncate table Flights",
|
|
"insert into Flights (departure_airport, arrival_airport, flights_count) values ('1', '2', '4')",
|
|
"insert into Flights (departure_airport, arrival_airport, flights_count) values ('2', '1', '5')",
|
|
"insert into Flights (departure_airport, arrival_airport, flights_count) values ('2', '4', '5')"
|
|
],
|
|
"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\":{\"Flights\":[\"departure_airport\",\"arrival_airport\",\"flights_count\"]},\"rows\":{\"Flights\":[[1,2,4],[2,1,5],[2,4,5]]}}\n{\"headers\":{\"Flights\":[\"departure_airport\",\"arrival_airport\",\"flights_count\"]},\"rows\":{\"Flights\":[[1,2,4],[2,1,5],[3,4,5],[4,3,4],[5,6,7]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |