mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-11 02:58:13 +08:00
63 lines
4.5 KiB
JSON
63 lines
4.5 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2335",
|
|
"questionFrontendId": "2199",
|
|
"boundTopicId": null,
|
|
"title": "Finding the Topic of Each Post",
|
|
"titleSlug": "finding-the-topic-of-each-post",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Hard",
|
|
"likes": 10,
|
|
"dislikes": 6,
|
|
"isLiked": null,
|
|
"similarQuestions": "[{\"title\": \"Group Sold Products By The Date\", \"titleSlug\": \"group-sold-products-by-the-date\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
|
"exampleTestcases": "{\"headers\": {\"Keywords\": [\"topic_id\", \"word\"], \"Posts\": [\"post_id\", \"content\"]}, \"rows\": {\"Keywords\": [[1, \"handball\"], [1, \"football\"], [3, \"WAR\"], [2, \"Vaccine\"]], \"Posts\": [[1, \"We call it soccer They call it football hahaha\"], [2, \"Americans prefer basketball while Europeans love handball and football\"], [3, \"stop the war and play handball\"], [4, \"warning I planted some flowers this morning and then got vaccinated\"]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"421\", \"totalSubmission\": \"1K\", \"totalAcceptedRaw\": 421, \"totalSubmissionRaw\": 1004, \"acRate\": \"41.9%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Keywords\": [\"topic_id\", \"word\"], \"Posts\": [\"post_id\", \"content\"]}, \"rows\": {\"Keywords\": [[1, \"handball\"], [1, \"football\"], [3, \"WAR\"], [2, \"Vaccine\"]], \"Posts\": [[1, \"We call it soccer They call it football hahaha\"], [2, \"Americans prefer basketball while Europeans love handball and football\"], [3, \"stop the war and play handball\"], [4, \"warning I planted some flowers this morning and then got vaccinated\"]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Keywords (topic_id int, word varchar(25))\",\n \"Create table If Not Exists Posts (post_id int, content varchar(100))\"\n ],\n \"mssql\": [\n \"Create table Keywords (topic_id int, word varchar(25))\",\n \"Create table Posts (post_id int, content varchar(100))\"\n ],\n \"oraclesql\": [\n \"Create table Keywords (topic_id int, word varchar(25))\",\n \"Create table Posts (post_id int, content varchar(100))\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Keywords (topic_id int, word varchar(25))",
|
|
"Create table If Not Exists Posts (post_id int, content varchar(100))",
|
|
"Truncate table Keywords",
|
|
"insert into Keywords (topic_id, word) values ('1', 'handball')",
|
|
"insert into Keywords (topic_id, word) values ('1', 'football')",
|
|
"insert into Keywords (topic_id, word) values ('3', 'WAR')",
|
|
"insert into Keywords (topic_id, word) values ('2', 'Vaccine')",
|
|
"Truncate table Posts",
|
|
"insert into Posts (post_id, content) values ('1', 'We call it soccer They call it football hahaha')",
|
|
"insert into Posts (post_id, content) values ('2', 'Americans prefer basketball while Europeans love handball and football')",
|
|
"insert into Posts (post_id, content) values ('3', 'stop the war and play handball')",
|
|
"insert into Posts (post_id, content) values ('4', 'warning I planted some flowers this morning and then got vaccinated')"
|
|
],
|
|
"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>\"]}",
|
|
"libraryUrl": null,
|
|
"adminUrl": null,
|
|
"challengeQuestion": null,
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |