mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
57 lines
3.2 KiB
JSON
57 lines
3.2 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2302",
|
|
"questionFrontendId": "2159",
|
|
"boundTopicId": null,
|
|
"title": "Order Two Columns Independently",
|
|
"titleSlug": "order-two-columns-independently",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 68,
|
|
"dislikes": 18,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Data\":[\"first_col\",\"second_col\"]},\"rows\":{\"Data\":[[4,2],[2,3],[3,1],[1,4]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"6.2K\", \"totalSubmission\": \"10.5K\", \"totalAcceptedRaw\": 6205, \"totalSubmissionRaw\": 10475, \"acRate\": \"59.2%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Data\":[\"first_col\",\"second_col\"]},\"rows\":{\"Data\":[[4,2],[2,3],[3,1],[1,4]]}}",
|
|
"metaData": "{\"mysql\": [\"Create table If Not Exists Data (first_col int, second_col int)\"], \"mssql\": [\"Create table Data (first_col int, second_col int)\"], \"oraclesql\": [\"Create table Data (first_col int, second_col int)\"], \"database\": true, \"name\": \"order_two_columns\", \"pythondata\": [\"Data = pd.DataFrame([], columns=['first_col', 'second_col']).astype({'first_col':'Int64', 'second_col':'Int64'})\"], \"postgresql\": [\"Create table If Not Exists Data (first_col int, second_col int)\"], \"database_schema\": {\"Data\": {\"first_col\": \"INT\", \"second_col\": \"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Data (first_col int, second_col int)",
|
|
"Truncate table Data",
|
|
"insert into Data (first_col, second_col) values ('4', '2')",
|
|
"insert into Data (first_col, second_col) values ('2', '3')",
|
|
"insert into Data (first_col, second_col) values ('3', '1')",
|
|
"insert into Data (first_col, second_col) values ('1', '4')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |