mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
57 lines
3.3 KiB
JSON
57 lines
3.3 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "571",
|
|
"questionFrontendId": "571",
|
|
"boundTopicId": null,
|
|
"title": "Find Median Given Frequency of Numbers",
|
|
"titleSlug": "find-median-given-frequency-of-numbers",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Hard",
|
|
"likes": 298,
|
|
"dislikes": 76,
|
|
"isLiked": null,
|
|
"similarQuestions": "[{\"title\": \"Median Employee Salary\", \"titleSlug\": \"median-employee-salary\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
|
|
"exampleTestcases": "{\"headers\": {\"Numbers\": [\"num\", \"frequency\"]}, \"rows\": {\"Numbers\": [[0, 7], [1, 1], [2, 3], [3, 1]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"26.7K\", \"totalSubmission\": \"62.7K\", \"totalAcceptedRaw\": 26718, \"totalSubmissionRaw\": 62747, \"acRate\": \"42.6%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Numbers\": [\"num\", \"frequency\"]}, \"rows\": {\"Numbers\": [[0, 7], [1, 1], [2, 3], [3, 1]]}}",
|
|
"metaData": "{\"mysql\": [\"Create table If Not Exists Numbers (num int, frequency int)\"], \"mssql\": [\"Create table Numbers (num int, frequency int)\"], \"oraclesql\": [\"Create table Numbers (num int, frequency int)\"], \"database\": true, \"name\": \"median_frequency\", \"pythondata\": [\"Numbers = pd.DataFrame([], columns=['num', 'frequency']).astype({'num':'Int64', 'frequency':'Int64'})\"], \"postgresql\": [\"\\nCreate table If Not Exists Numbers (num int, frequency int)\"], \"database_schema\": {\"Numbers\": {\"num\": \"INT\", \"frequency\": \"INT\"}}}",
|
|
"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,
|
|
"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"
|
|
}
|
|
}
|
|
} |