What happens in case of hash collisions in a map?
Golang
How do goroutines differ from OS threads?
When is it better to use Mutex, and when Channel?
What is the difference between a process, a thread, and a goroutine?
What makes goroutines switch faster?
Can structures be used as keys in a map?
Is it possible to put a structure into the context via context.WithValue?
What is a channel in Go and how does channel buffering work?
Where is memory stored in goroutines?
Is it possible to nest a context within a context?
What is an empty interface?
What is context in Go and what is it used for?
What keys can a map in Go have?
// Task: implement workerPool // numWorkers – number of workers // jobs – list of numbers to process // Each worker squares the number // Return all results (order does not matter) func workerPool(numWorkers int, jobs []int) []int { // your code here }
How does map work inside?
What is a transaction and what are the principles of ACID?
What is an index in a database, how does it work, pros and cons?
Is it possible to use another map or slice as a key in a map?
What are interfaces in Go?
Who should close the channel?