{ "data": { "question": { "questionId": "1420", "questionFrontendId": "1285", "categoryTitle": "Database", "boundTopicId": 54484, "title": "Find the Start and End Number of Continuous Ranges", "titleSlug": "find-the-start-and-end-number-of-continuous-ranges", "content": null, "translatedTitle": "找到连续区间的开始和结束数字", "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 140, "dislikes": 0, "isLiked": null, "similarQuestions": "[{\"title\": \"Report Contiguous Dates\", \"titleSlug\": \"report-contiguous-dates\", \"difficulty\": \"Hard\", \"translatedTitle\": \"\\u62a5\\u544a\\u7cfb\\u7edf\\u72b6\\u6001\\u7684\\u8fde\\u7eed\\u65e5\\u671f\", \"isPaidOnly\": true}, {\"title\": \"Find the Missing IDs\", \"titleSlug\": \"find-the-missing-ids\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u627e\\u5230\\u9057\\u5931\\u7684ID\", \"isPaidOnly\": true}, {\"title\": \"Customers With Strictly Increasing Purchases\", \"titleSlug\": \"customers-with-strictly-increasing-purchases\", \"difficulty\": \"Hard\", \"translatedTitle\": \"\\u8d2d\\u4e70\\u91cf\\u4e25\\u683c\\u589e\\u52a0\\u7684\\u5ba2\\u6237\", \"isPaidOnly\": true}]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"16.2K\", \"totalSubmission\": \"20.7K\", \"totalAcceptedRaw\": 16199, \"totalSubmissionRaw\": 20677, \"acRate\": \"78.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, "envInfo": "{\"mysql\":[\"MySQL\",\"

\\u7248\\u672c\\uff1aMySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"

mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"

Oracle Sql 11.2.<\\/p>\"],\"pythondata\":[\"Pandas\",\"

Python 3.10 with Pandas 2.2.2 and NumPy 1.26.4<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"

PostgreSQL 16<\\/p>\"]}", "book": null, "isSubscribed": false, "isDailyQuestion": false, "dailyRecordStatus": null, "editorType": "CKEDITOR", "ugcQuestionId": null, "style": "LEETCODE", "exampleTestcases": "{\"headers\":{\"Logs\":[\"log_id\"]},\"rows\":{\"Logs\":[[1],[2],[3],[7],[8],[10]]}}", "__typename": "QuestionNode" } } }