mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
59 lines
3.5 KiB
JSON
59 lines
3.5 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2637",
|
|
"questionFrontendId": "2494",
|
|
"boundTopicId": null,
|
|
"title": "Merge Overlapping Events in the Same Hall",
|
|
"titleSlug": "merge-overlapping-events-in-the-same-hall",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Hard",
|
|
"likes": 7,
|
|
"dislikes": 1,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": null,
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"65\", \"totalSubmission\": \"286\", \"totalAcceptedRaw\": 65, \"totalSubmissionRaw\": 286, \"acRate\": \"22.7%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"HallEvents\": [\"hall_id\", \"start_day\", \"end_day\"]}, \"rows\": {\"HallEvents\": [[1, \"2023-01-13\", \"2023-01-14\"], [1, \"2023-01-14\", \"2023-01-17\"], [1, \"2023-01-18\", \"2023-01-25\"], [2, \"2022-12-09\", \"2022-12-23\"], [2, \"2022-12-13\", \"2022-12-17\"], [3, \"2022-12-01\", \"2023-01-30\"]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists HallEvents (hall_id int, start_day date, end_day date)\"\n ],\n \"mssql\": [\n \"Create table HallEvents (hall_id int, start_day date, end_day date)\"\n ],\n \"oraclesql\": [\n \"Create table HallEvents (hall_id int, start_day date, end_day date)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists HallEvents (hall_id int, start_day date, end_day date)",
|
|
"Truncate table HallEvents",
|
|
"insert into HallEvents (hall_id, start_day, end_day) values ('1', '2023-01-13', '2023-01-14')",
|
|
"insert into HallEvents (hall_id, start_day, end_day) values ('1', '2023-01-14', '2023-01-17')",
|
|
"insert into HallEvents (hall_id, start_day, end_day) values ('1', '2023-01-18', '2023-01-25')",
|
|
"insert into HallEvents (hall_id, start_day, end_day) values ('2', '2022-12-09', '2022-12-23')",
|
|
"insert into HallEvents (hall_id, start_day, end_day) values ('2', '2022-12-13', '2022-12-17')",
|
|
"insert into HallEvents (hall_id, start_day, end_day) values ('3', '2022-12-01', '2023-01-30')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |