mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-11 11:08:15 +08:00
60 lines
3.1 KiB
JSON
60 lines
3.1 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "571",
|
|
"questionFrontendId": "571",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 2651,
|
|
"title": "Find Median Given Frequency of Numbers",
|
|
"titleSlug": "find-median-given-frequency-of-numbers",
|
|
"content": null,
|
|
"translatedTitle": "给定数字的频率查询中位数",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Hard",
|
|
"likes": 72,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[{\"title\": \"Median Employee Salary\", \"titleSlug\": \"median-employee-salary\", \"difficulty\": \"Hard\", \"translatedTitle\": \"\\u5458\\u5de5\\u85aa\\u6c34\\u4e2d\\u4f4d\\u6570\"}]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"8.9K\", \"totalSubmission\": \"18.6K\", \"totalAcceptedRaw\": 8866, \"totalSubmissionRaw\": 18621, \"acRate\": \"47.6%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Numbers\": [\"num\", \"frequency\"]}, \"rows\": {\"Numbers\": [[0, 7], [1, 1], [2, 3], [3, 1]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Numbers (num int, frequency int)\"\n ],\n \"mssql\": [\n \"Create table Numbers (num int, frequency int)\"\n ],\n \"oraclesql\": [\n \"Create table Numbers (num int, frequency int)\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Numbers (num int, frequency int)",
|
|
"Truncate table Numbers",
|
|
"insert into Numbers (num, frequency) values ('0', '7')",
|
|
"insert into Numbers (num, frequency) values ('1', '1')",
|
|
"insert into Numbers (num, frequency) values ('2', '3')",
|
|
"insert into Numbers (num, frequency) values ('3', '1')"
|
|
],
|
|
"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>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\": {\"Numbers\": [\"num\", \"frequency\"]}, \"rows\": {\"Numbers\": [[0, 7], [1, 1], [2, 3], [3, 1]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |