You are given a tasks, where tasks[i] = [start_i, end_i, duration_i].
Each task must be actively run for a total of duration_i integer time units within the inclusive time interval start_i, end_i
The computer can run multiple tasks simultaneously, and running several tasks during the same time unit only counts as
Return the minimum total time units the computer must be turned on to complete all tasks.
Constraints:
tasks.length
tasks[i].length
start_i, end_i
duration_i end_i start_i
You are given a tasks, where tasks[i] = [start_i, end_i, duration_i].
Each task must be actively run for a total of duration_i integer time units within the inclusive time interval start_i, end_i
The computer can run multiple tasks simultaneously, and running several tasks during the same time unit only counts as
Return the minimum total time units the computer must be turned on to complete all tasks.
Constraints:
tasks.length
tasks[i].length
start_i, end_i
duration_i end_i start_i