Build a Go worker pool: the caller pushes tasks into a queue, a fixed set of goroutines picks them up as they become free, and results flow back.
Build a Go worker pool: the caller pushes tasks into a queue, a fixed set of goroutines picks them up as they become free, and results flow back.
Unlock the full question and reference solution
One-time unlock. Yours forever.
Or get a for every question, unlimited code runs and AI mock interviews.
Opens with the full question.