3169. Count Days Without Meetings
You are given a positive integer
days
representing the total number of days an employee is available for work (starting from day 1). You are also given a 2D arraymeetings
of sizen
where,meetings[i] = [start_i, end_i]
represents the starting and ending days of meetingi
(inclusive).Return the count of days when the employee is available for work but no meetings are scheduled.
Note: The meetings may overlap.
1 | class Solution { |