#3683
Earliest Time to Finish One Task
easy · 84.4% accepted · 46 likes · top 96%
Description
You are given a 2D integer array tasks where tasks[i] = [si, ti].
Each [si, ti] in tasks represents a task with start time si that takes ti units of time to finish.
Return the earliest time at which at least one task is finished.
Solution