Schedule N tasks (each with a duration) across W workers.Each worker is single-threaded; pick the worker that becomes free earliest.
solve(workers, durations) returns total elapsed time (max worker time).
solve(workers, durations)
Sample tests