Some common questions I see in most Golang interview reports 👇
Goroutines vs Threads
How goroutines are scheduled, M:N model, when they block, and why they’re cheap.
Channels (buffered vs unbuffered)
How synchronization works, blocking behavior, and when to use each.
Concurrency vs Parallelism
What Go gives you by default, and how GOMAXPROCS affects execution.
Interfaces in Go
Implicit implementation, zero-value interfaces, and why they enable clean design.
defer keyword
Execution order, stack behavior, and common pitfalls (especially in loops).
Pointers vs Values
When to pass by value vs pointer, performance and mutability trade-offs.
Error handling in Go
Why Go avoids exceptions, idiomatic error wrapping, and
errors.Is/As.
Slices vs Arrays
Backing array, capacity growth, and why slice bugs happen.
Maps internals
Reference semantics, concurrency issues, and why maps aren’t thread-safe.
Garbage Collection basics
How Go’s GC works at a high level and how it affects latency.
If you’re solid on these, most Go interviews should be easy.
Some common questions that you I see in most Java Interview reports :
- Optional in Java
- Why String is immutable
- Spring profiles
- terminal and intermediate operations in streams