Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2298. Tasks Count in the Weekend
Given a schedule of tasks over a date range or with a recurrence pattern, count how many of those tasks fall on weekend days (Saturday/Sunday). The key challenge is efficient date arithmetic and modular counting of weekdays across months/years (handling varying month lengths and leap years) rather than iterating day-by-day.
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.