mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
59 lines
3.7 KiB
JSON
59 lines
3.7 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2120",
|
|
"questionFrontendId": "1972",
|
|
"boundTopicId": null,
|
|
"title": "First and Last Call On the Same Day",
|
|
"titleSlug": "first-and-last-call-on-the-same-day",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Hard",
|
|
"likes": 46,
|
|
"dislikes": 8,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\": {\"Calls\": [\"caller_id\", \"recipient_id\", \"call_time\"]}, \"rows\": {\"Calls\": [[8, 4, \"2021-08-24 17:46:07\"], [4, 8, \"2021-08-24 19:57:13\"], [5, 1, \"2021-08-11 05:28:44\"], [8, 3, \"2021-08-17 04:04:15\"], [11, 3, \"2021-08-17 13:07:00\"], [8, 11, \"2021-08-17 22:22:22\"]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"2.7K\", \"totalSubmission\": \"5.1K\", \"totalAcceptedRaw\": 2681, \"totalSubmissionRaw\": 5146, \"acRate\": \"52.1%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Calls\": [\"caller_id\", \"recipient_id\", \"call_time\"]}, \"rows\": {\"Calls\": [[8, 4, \"2021-08-24 17:46:07\"], [4, 8, \"2021-08-24 19:57:13\"], [5, 1, \"2021-08-11 05:28:44\"], [8, 3, \"2021-08-17 04:04:15\"], [11, 3, \"2021-08-17 13:07:00\"], [8, 11, \"2021-08-17 22:22:22\"]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Calls (caller_id int, recipient_id int, call_time datetime)\"\n ],\n \"mssql\": [\n \"Create table Calls (caller_id int, recipient_id int, call_time datetime)\"\n ],\n \"oraclesql\": [\n \"Create table Calls (caller_id int, recipient_id int, call_time date)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD HH24:MI:SS'\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Calls (caller_id int, recipient_id int, call_time datetime)",
|
|
"Truncate table Calls",
|
|
"insert into Calls (caller_id, recipient_id, call_time) values ('8', '4', '2021-08-24 17:46:07')",
|
|
"insert into Calls (caller_id, recipient_id, call_time) values ('4', '8', '2021-08-24 19:57:13')",
|
|
"insert into Calls (caller_id, recipient_id, call_time) values ('5', '1', '2021-08-11 05:28:44')",
|
|
"insert into Calls (caller_id, recipient_id, call_time) values ('8', '3', '2021-08-17 04:04:15')",
|
|
"insert into Calls (caller_id, recipient_id, call_time) values ('11', '3', '2021-08-17 13:07:00')",
|
|
"insert into Calls (caller_id, recipient_id, call_time) values ('8', '11', '2021-08-17 22:22:22')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |