mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-11 02:58:13 +08:00
62 lines
3.8 KiB
JSON
62 lines
3.8 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2172",
|
|
"questionFrontendId": "2026",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 1029403,
|
|
"title": "Low-Quality Problems",
|
|
"titleSlug": "low-quality-problems",
|
|
"content": null,
|
|
"translatedTitle": "低质量的问题",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 5,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"4K\", \"totalSubmission\": \"5K\", \"totalAcceptedRaw\": 4002, \"totalSubmissionRaw\": 5043, \"acRate\": \"79.4%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Problems\":[\"problem_id\",\"likes\",\"dislikes\"]},\"rows\":{\"Problems\":[[6,1290,425],[11,2677,8659],[1,4446,2760],[7,8569,6086],[13,2050,4164],[10,9002,7446]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Problems (problem_id int, likes int, dislikes int)\"],\"mssql\":[\"Create table Problems (problem_id int, likes int, dislikes int)\"],\"oraclesql\":[\"Create table Problems (problem_id int, likes int, dislikes int)\"],\"database\":true,\"name\":\"low_quality_problems\",\"pythondata\":[\"Problems = pd.DataFrame([], columns=['problem_id', 'likes', 'dislikes']).astype({'problem_id':'Int64', 'likes':'Int64', 'dislikes':'Int64'})\"],\"postgresql\":[\"Create table If Not Exists Problems (problem_id int, likes int, dislikes int)\"],\"database_schema\":{\"Problems\":{\"problem_id\":\"INT\",\"likes\":\"INT\",\"dislikes\":\"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Problems (problem_id int, likes int, dislikes int)",
|
|
"Truncate table Problems",
|
|
"insert into Problems (problem_id, likes, dislikes) values ('6', '1290', '425')",
|
|
"insert into Problems (problem_id, likes, dislikes) values ('11', '2677', '8659')",
|
|
"insert into Problems (problem_id, likes, dislikes) values ('1', '4446', '2760')",
|
|
"insert into Problems (problem_id, likes, dislikes) values ('7', '8569', '6086')",
|
|
"insert into Problems (problem_id, likes, dislikes) values ('13', '2050', '4164')",
|
|
"insert into Problems (problem_id, likes, dislikes) values ('10', '9002', '7446')"
|
|
],
|
|
"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\":{\"Problems\":[\"problem_id\",\"likes\",\"dislikes\"]},\"rows\":{\"Problems\":[[6,1290,425],[11,2677,8659],[1,4446,2760],[7,8569,6086],[13,2050,4164],[10,9002,7446]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |