Sobes.tech

What happens in case of hash collisions in a map?

Middle+
214

How do goroutines differ from OS threads?

Middle+
200

When is it better to use Mutex, and when Channel?

Middle+
198

What is the difference between a process, a thread, and a goroutine?

Middle+
194

What makes goroutines switch faster?

Middle+
192

Can structures be used as keys in a map?

Middle+
183

Is it possible to put a structure into the context via context.WithValue?

Middle+
182

What is a channel in Go and how does channel buffering work?

Middle+
178

Where is memory stored in goroutines?

Middle+
178

Is it possible to nest a context within a context?

Middle+
175

What is an empty interface?

Middle+
171

What is context in Go and what is it used for?

Middle+
171

What keys can a map in Go have?

Middle+
169

// 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 }

Middle+
167

How does map work inside?

Middle+
160

What is a transaction and what are the principles of ACID?

Middle+
152

What is an index in a database, how does it work, pros and cons?

Middle+
139

Is it possible to use another map or slice as a key in a map?

Middle+
131

What are interfaces in Go?

Middle+
125

Who should close the channel?

Middle+
112