Problem 2636 · Medium

Promise Pool

Run tasks with at most a fixed number in flight; whenever one finishes, the next waiting task starts. The visual models task durations as timers.

Open the interactive visualisation