1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/originData/[no content]biggest-window-between-visits.json

62 lines
3.5 KiB
JSON
Raw Normal View History

2022-03-27 20:45:09 +08:00
{
"data": {
"question": {
"questionId": "1852",
"questionFrontendId": "1709",
"categoryTitle": "Database",
"boundTopicId": 544992,
"title": "Biggest Window Between Visits",
"titleSlug": "biggest-window-between-visits",
"content": null,
"translatedTitle": "访问日期之间最大的空档期",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
2022-05-02 23:44:12 +08:00
"likes": 21,
2022-03-27 20:45:09 +08:00
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
2022-05-02 23:44:12 +08:00
"stats": "{\"totalAccepted\": \"2.5K\", \"totalSubmission\": \"3.5K\", \"totalAcceptedRaw\": 2511, \"totalSubmissionRaw\": 3476, \"acRate\": \"72.2%\"}",
2022-03-27 20:45:09 +08:00
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"UserVisits\":[\"user_id\",\"visit_date\"]},\"rows\":{\"UserVisits\":[[\"1\",\"2020-11-28\"],[\"1\",\"2020-10-20\"],[\"1\",\"2020-12-3\"],[\"2\",\"2020-10-5\"],[\"2\",\"2020-12-9\"],[\"3\",\"2020-11-11\"]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists UserVisits(user_id int, visit_date date)\"\n ],\n \"mssql\": [\n \"Create table UserVisits(user_id int, visit_date date)\"\n ],\n \"oraclesql\": [\n \"Create table UserVisits(user_id int, visit_date 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 UserVisits(user_id int, visit_date date)",
"Truncate table UserVisits",
"insert into UserVisits (user_id, visit_date) values ('1', '2020-11-28')",
"insert into UserVisits (user_id, visit_date) values ('1', '2020-10-20')",
"insert into UserVisits (user_id, visit_date) values ('1', '2020-12-3')",
"insert into UserVisits (user_id, visit_date) values ('2', '2020-10-5')",
"insert into UserVisits (user_id, visit_date) values ('2', '2020-12-9')",
"insert into UserVisits (user_id, visit_date) values ('3', '2020-11-11')"
],
"enableRunCode": true,
"envInfo": "{\"mysql\":[\"MySQL\",\"<p>\\u7248\\u672c\\uff1a<code>MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"<p>mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"<p>Oracle Sql 11.2.<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"UserVisits\":[\"user_id\",\"visit_date\"]},\"rows\":{\"UserVisits\":[[\"1\",\"2020-11-28\"],[\"1\",\"2020-10-20\"],[\"1\",\"2020-12-3\"],[\"2\",\"2020-10-5\"],[\"2\",\"2020-12-9\"],[\"3\",\"2020-11-11\"]]}}",
"__typename": "QuestionNode"
}
}
}