Leetcode 2777. Date Range Generator
Given an unsorted list of dates (or date intervals), produce a compact list of inclusive date ranges by merging consecutive or overlapping days. Requires correct date arithmetic across month/year boundaries and an efficient sort-and-scan or interval-merge approach to handle large inputs.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.