In the solution for Scheduling Tasks (hard)
, they have a sentence which states that
In each iteration, we will try to execute as many as k+1 tasks.
Now how the heck did these guys arrive at k + 1 tasks? Why not k, why not k - 1? whats up with this magic number?