Problem 2589 · Hard

Minimum Time to Complete All Tasks

Process tasks by deadline and switch the computer on at the latest seconds still needed, so later tasks can reuse them.

Open the interactive visualisation