#3169
Count Days Without Meetings
specialist · 895 · lc medium +31 · 48.1% accepted · 780 likes · top 34%
Description
An employee works days days (numbered 1 to days). Meeting intervals meetings[i] = [start_i, end_i] (inclusive, possibly overlapping) block certain days. Return the count of days the employee is free of meetings.
Code
1
2
3