This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingSort tasks by arrival, keep a heap of available tasks by duration, and jump the clock when idle.
What this asks
Simulate one CPU picking the shortest available task.
Sort tasks by arrival; a heap of available durations picks the next task, and the clock jumps when idle.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing