1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]report-contiguous-dates.json

65 lines
4.9 KiB
JSON

{
"data": {
"question": {
"questionId": "1357",
"questionFrontendId": "1225",
"boundTopicId": null,
"title": "Report Contiguous Dates",
"titleSlug": "report-contiguous-dates",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Hard",
"likes": 308,
"dislikes": 23,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Find the Start and End Number of Continuous Ranges\", \"titleSlug\": \"find-the-start-and-end-number-of-continuous-ranges\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Find the Missing IDs\", \"titleSlug\": \"find-the-missing-ids\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Customers With Strictly Increasing Purchases\", \"titleSlug\": \"customers-with-strictly-increasing-purchases\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
"exampleTestcases": "{\"headers\":{\"Failed\":[\"fail_date\"],\"Succeeded\":[\"success_date\"]},\"rows\":{\"Failed\":[[\"2018-12-28\"],[\"2018-12-29\"],[\"2019-01-04\"],[\"2019-01-05\"]],\"Succeeded\":[[\"2018-12-30\"],[\"2018-12-31\"],[\"2019-01-01\"],[\"2019-01-02\"],[\"2019-01-03\"],[\"2019-01-06\"]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"20K\", \"totalSubmission\": \"34K\", \"totalAcceptedRaw\": 20044, \"totalSubmissionRaw\": 33956, \"acRate\": \"59.0%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Failed\":[\"fail_date\"],\"Succeeded\":[\"success_date\"]},\"rows\":{\"Failed\":[[\"2018-12-28\"],[\"2018-12-29\"],[\"2019-01-04\"],[\"2019-01-05\"]],\"Succeeded\":[[\"2018-12-30\"],[\"2018-12-31\"],[\"2019-01-01\"],[\"2019-01-02\"],[\"2019-01-03\"],[\"2019-01-06\"]]}}",
"metaData": "{\"mysql\": [\"Create table If Not Exists Failed (fail_date date)\", \"Create table If Not Exists Succeeded (success_date date)\"], \"mssql\": [\"Create table Failed (fail_date date)\", \"Create table Succeeded (success_date date)\\n\"], \"oraclesql\": [\"Create table Failed (fail_date date)\", \"Create table Succeeded (success_date date)\\n\", \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"], \"database\": true, \"name\": \"report_contiguous_dates\", \"pythondata\": [\"Failed = pd.DataFrame([], columns=['fail_date']).astype({'fail_date':'datetime64[ns]'})\", \"Succeeded = pd.DataFrame([], columns=['success_date']).astype({'success_date':'datetime64[ns]'})\"], \"postgresql\": [\"\\nCreate table If Not Exists Failed (fail_date date)\\n\", \"Create table If Not Exists Succeeded (success_date date)\"], \"database_schema\": {\"Failed\": {\"fail_date\": \"DATE\"}, \"Succeeded\": {\"success_date\": \"DATE\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Failed (fail_date date)",
"Create table If Not Exists Succeeded (success_date date)",
"Truncate table Failed",
"insert into Failed (fail_date) values ('2018-12-28')",
"insert into Failed (fail_date) values ('2018-12-29')",
"insert into Failed (fail_date) values ('2019-01-04')",
"insert into Failed (fail_date) values ('2019-01-05')",
"Truncate table Succeeded",
"insert into Succeeded (success_date) values ('2018-12-30')",
"insert into Succeeded (success_date) values ('2018-12-31')",
"insert into Succeeded (success_date) values ('2019-01-01')",
"insert into Succeeded (success_date) values ('2019-01-02')",
"insert into Succeeded (success_date) values ('2019-01-03')",
"insert into Succeeded (success_date) values ('2019-01-06')"
],
"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>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}