You are given an array courses where courses[i] = [duration_i, lastDay_i] indicates that the duration_i continuous days to complete and must be finished on or before day lastDay_i.
You begin on day
Return the maximum number of courses you can finish.
Constraints:
courses.length
duration_i, lastDay_i
You are given an array courses where courses[i] = [duration_i, lastDay_i] indicates that the duration_i continuous days to complete and must be finished on or before day lastDay_i.
You begin on day
Return the maximum number of courses you can finish.
Constraints:
courses.length
duration_i, lastDay_i