Golang
How have you worked with Kubernetes? What did you do?
Have you ever received a task in the format 'here is the goal — here is the result, how to do it — no difference'?
How are SOLID principles applicable to the Singleton pattern?
Will there be a panic if you append to a nil slice?
Why did you resign?
Questions to the interviewer about the company and processes.
Are you for or against stored procedures?.
Binary search and search tree traversal have the same logarithmic complexity. Why do we need multiple algorithms with the same algorithmic complexity? Should we always use a tree instead of binary search?
Have you used triggers in practice?
What logging library do you use?
Знакомо ли тебе понятие multi-stage build в Docker?
What happens to a slice in Go if its capacity is 8 and we try to add a ninth element?
What is the difference between the EXPLAIN and EXPLAIN ANALYZE commands in PostgreSQL?
package main import "fmt" func main() { a := []int{1,2} a = append(a, 3) b := append(a, 4) c := append(a, 5) fmt.Println(b) fmt.Println(c) }
package main func oneStep(yield func() bool) { yield() } func f() { for range oneStep { print("f ") recover() } } func g() { for range 1 { print("g ") recover() } } func checkPanic(loop func(), c chan<- struct{}) { defer func() { println(recover() != nil) c <- struct{}{} }() defer loop() panic(123) } func main() { c := make(chan struct{}, 1) go checkPanic(f, c) <-c go checkPanic(g, c) <-c }
Load testing — how was it conducted, what metrics were monitored?
What types of automated tests have you used?
What is SELECT FOR UPDATE and why is it needed?
[name] asked: what is DDD (Domain-Driven Design)?
Have you done sharding? What principle did you shard on?