Search
⌘K
Get Premium
Leetcode 1225. Report Contiguous Dates
Given a table/list of report dates (often per user or entity), group consecutive calendar days into contiguous runs and output each run's start and end (and usually its length), handling duplicates and unordered input. The core challenge is detecting gaps and efficiently partitioning dates into consecutive ranges.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.