You are given a two dimensional integer array tasks, where tasks[i] = [s_i, t_i] represents a task that begins at time s_i and requires t_i units of time to complete.
Each task finishes at time s_i t_i.
Return the earliest time at which at least one task is completed.
Constraints:
tasks.length
tasks[i] = [s_i, t_i]
s_i, t_i
You are given a two dimensional integer array tasks, where tasks[i] = [s_i, t_i] represents a task that begins at time s_i and requires t_i units of time to complete.
Each task finishes at time s_i t_i.
Return the earliest time at which at least one task is completed.
Constraints:
tasks.length
tasks[i] = [s_i, t_i]
s_i, t_i