Find runs of consecutive calendar days with at least one order (an "island"). Return start_date, end_date and days (the length of the run) for each run, sorted by start_date.
Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial