All challenges
Multiple ChoiceIntermediate 30s

Go: sync.WaitGroup

A WaitGroup waits for:
Options
  1. 1A channel to close when the work finishes
  2. 2A mutex to unlock a shared section
  3. 3A file to close after buffered writes
  4. 4A collection of goroutines to finish

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle