Leetcode 1809. Ad-Free Sessions
Given event timestamps and a number of ad-free coupons (or a fixed ad-free duration per coupon), determine how to cover events with ad-free intervals to maximize the number of ad-free sessions (or minimize coupons used). This reduces to sorting and greedy interval coverage / sliding-window grouping of timestamps to pack as many events as possible into each ad-free interval.
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.