InterviewPitch

Land the job you want — prepare
with Real interviews Q&A

Curated interview questions, company-wise guides and coding rounds. Practice mock interviews, improve with feedback, and track your progress.

Q&A
Top curated interview packs
Company-wise & role-wise packs, quality assured.
Mock interview
AI scoring
Coding rounds
Top 10 sets
Beginner
1. What is Golang?
Go (Golang) is an open-source, statically typed, compiled programming language designed by Google for simplicity, concurrency, and performance.
Beginner
2. Who developed Go?
Go was developed at Google by Robert Griesemer, Rob Pike, and Ken Thompson in 2009.
Beginner
3. What are the main features of Go?
Simplicity, fast compilation, garbage collection, built-in concurrency, strong typing.
Beginner
4. What is a package in Go?
A package is a collection of Go source files organized together. Every Go program starts with package main.
Beginner
5. What is the main function?
The main() function is the entry point of a Go program.
Beginner
6. What are variables in Go?
Variables store values and can be declared using var keyword or := shorthand syntax.
Beginner
7. What are data types in Go?
int, float64, string, bool, arrays, slices, maps, structs, interfaces.
Beginner
8. What is a slice?
A slice is a dynamically sized, flexible view into elements of an array.
Beginner
9. What is a map?
A map is a built-in reference type used to associate keys with values.
Beginner
10. What is a struct?
A struct is a user-defined type that groups related data together.
Intermediate
16. What is a goroutine?
A goroutine is a lightweight thread managed by the Go runtime.
Intermediate
17. What is a channel?
A channel is used for communication between goroutines.
Intermediate
18. What is buffered vs unbuffered channel?
Buffered channels store values temporarily. Unbuffered channels require both sender and receiver simultaneously.
Intermediate
19. What is defer?
defer delays execution of a function until the surrounding function returns.
Intermediate
20. What is panic?
panic stops normal execution and begins unwinding the stack.
Intermediate
21. What is recover?
recover is used to regain control of a panicking goroutine.
Intermediate
22. What is interface in Go?
An interface defines method signatures without implementation.
Intermediate
23. What is pointer in Go?
A pointer holds the memory address of a value.
Intermediate
24. What is Go module?
A Go module is a collection of related Go packages with dependency management.
Intermediate
25. What is context package?
context is used for deadlines, cancellation signals, and request-scoped values.
Advanced
31. What is concurrency vs parallelism?
Concurrency handles multiple tasks at once. Parallelism executes multiple tasks simultaneously.
Advanced
32. What is race condition?
A race condition occurs when multiple goroutines access shared data simultaneously.
Advanced
33. How to prevent race condition?
Use sync.Mutex or channels to synchronize access.
Advanced
34. What is sync.WaitGroup?
WaitGroup waits for a collection of goroutines to finish execution.
Advanced
35. What is garbage collection in Go?
Go automatically frees unused memory using a built-in garbage collector.
Coding Round
41. Print Hello World
package main
import "fmt"
Coding Round
42. Create goroutine
go myFunction()
Coding Round
43. Create channel
ch := make(chan int)
Coding Round
44. Send value to channel
ch
Coding Round
45. Receive value from channel
value :=
Coding Round
46. Define struct
type Person struct
Coding Round
47. Loop through slice
for i, v := range slice
Coding Round
48. Error handling
if err != nil
Coding Round
49. Create map
m := make(map[string]int)
Coding Round
50. Use WaitGroup
var wg sync.WaitGroup
wg.Add(1)
go func()()
wg.Wait()