Multiple ChoiceIntermediate 30s
Go: sync.WaitGroup
A WaitGroup waits for:
Options
- 1A channel to close when the work finishes
- 2A mutex to unlock a shared section
- 3A file to close after buffered writes
- 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.