mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
60 lines
3.5 KiB
JSON
60 lines
3.5 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1225",
|
|
"questionFrontendId": "1126",
|
|
"boundTopicId": null,
|
|
"title": "Active Businesses",
|
|
"titleSlug": "active-businesses",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 182,
|
|
"dislikes": 20,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Events\":[\"business_id\",\"event_type\",\"occurences\"]},\"rows\":{\"Events\":[[1,\"reviews\",7],[3,\"reviews\",3],[1,\"ads\",11],[2,\"ads\",7],[3,\"ads\",6],[1,\"page views\",3],[2,\"page views\",12]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"29.6K\", \"totalSubmission\": \"43.7K\", \"totalAcceptedRaw\": 29587, \"totalSubmissionRaw\": 43670, \"acRate\": \"67.8%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Events\":[\"business_id\",\"event_type\",\"occurences\"]},\"rows\":{\"Events\":[[1,\"reviews\",7],[3,\"reviews\",3],[1,\"ads\",11],[2,\"ads\",7],[3,\"ads\",6],[1,\"page views\",3],[2,\"page views\",12]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Events (business_id int, event_type varchar(10), occurences int)\"\n ],\n \"mssql\": [\n \"Create table Events (business_id int, event_type varchar(10), occurences int)\"\n ],\n \"oraclesql\": [\n \"Create table Events (business_id int, event_type varchar(10), occurences int)\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Events (business_id int, event_type varchar(10), occurences int)",
|
|
"Truncate table Events",
|
|
"insert into Events (business_id, event_type, occurences) values ('1', 'reviews', '7')",
|
|
"insert into Events (business_id, event_type, occurences) values ('3', 'reviews', '3')",
|
|
"insert into Events (business_id, event_type, occurences) values ('1', 'ads', '11')",
|
|
"insert into Events (business_id, event_type, occurences) values ('2', 'ads', '7')",
|
|
"insert into Events (business_id, event_type, occurences) values ('3', 'ads', '6')",
|
|
"insert into Events (business_id, event_type, occurences) values ('1', 'page views', '3')",
|
|
"insert into Events (business_id, event_type, occurences) values ('2', 'page views', '12')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |