{ "data": { "question": { "questionId": "1420", "questionFrontendId": "1285", "boundTopicId": null, "title": "Find the Start and End Number of Continuous Ranges", "titleSlug": "find-the-start-and-end-number-of-continuous-ranges", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 536, "dislikes": 31, "isLiked": null, "similarQuestions": "[{\"title\": \"Report Contiguous Dates\", \"titleSlug\": \"report-contiguous-dates\", \"difficulty\": \"Hard\", \"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\":{\"Logs\":[\"log_id\"]},\"rows\":{\"Logs\":[[1],[2],[3],[7],[8],[10]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"34.9K\", \"totalSubmission\": \"41.9K\", \"totalAcceptedRaw\": 34949, \"totalSubmissionRaw\": 41936, \"acRate\": \"83.3%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Logs\":[\"log_id\"]},\"rows\":{\"Logs\":[[1],[2],[3],[7],[8],[10]]}}", "metaData": "{\"mysql\": [\"Create table If Not Exists Logs (log_id int)\"], \"mssql\": [\"Create table Logs (log_id int)\"], \"oraclesql\": [\"Create table Logs (log_id int)\"], \"database\": true, \"name\": \"find_continuous_ranges\", \"pythondata\": [\"Logs = pd.DataFrame([], columns=['log_id']).astype({'log_id':'Int64'})\"], \"postgresql\": [\"\\nCreate table If Not Exists Logs (log_id int)\"], \"database_schema\": {\"Logs\": {\"log_id\": \"INT\"}}}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Logs (log_id int)", "Truncate table Logs", "insert into Logs (log_id) values ('1')", "insert into Logs (log_id) values ('2')", "insert into Logs (log_id) values ('3')", "insert into Logs (log_id) values ('7')", "insert into Logs (log_id) values ('8')", "insert into Logs (log_id) values ('10')" ], "enableRunCode": true, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"

MySQL 8.0.

\"], \"mssql\": [\"MS SQL Server\", \"

mssql server 2019.

\"], \"oraclesql\": [\"Oracle\", \"

Oracle Sql 11.2.

\"], \"pythondata\": [\"Pandas\", \"

Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0

\"], \"postgresql\": [\"PostgreSQL\", \"

PostgreSQL 16

\"]}", "libraryUrl": null, "adminUrl": null, "challengeQuestion": null, "__typename": "QuestionNode" } } }