You are given an array events, where each events[i] is a pair [startDay_i, endDay_i] representing an event that can be attended on any single day from startDay_i through endDay_i inclusive. You can attend at most one event per day, and each event can be attended at most once.
Return the maximum number of events you can attend.
Constraints:
events.length
events[i].length
startDay_i endDay_i
You are given an array events, where each events[i] is a pair [startDay_i, endDay_i] representing an event that can be attended on any single day from startDay_i through endDay_i inclusive. You can attend at most one event per day, and each event can be attended at most once.
Return the maximum number of events you can attend.
Constraints:
events.length
events[i].length
startDay_i endDay_i