Tell me about an interesting task from your past experience. What did you do at the company?
Golang
What motivated you to explore the current job offers?
How long does a search tree operate?
How can embedded structures be used to simulate inheritance in Go?
What is a goroutine in the context of Go?
What is the difference between a buffered and a non-buffered channel?
Why are caches and caching necessary? What is a negative cache?
How to organize communication between goroutines and how to work with deadlocks?
How to analyze the state of a Linux machine without monitoring if it 'feels bad'? How to identify the causes of problems?
Do you have any questions for me?
What is the difference between a process and a thread?
The test for uniform distribution is failing: backend[0] expected 5 calls, received 10; backend[1] expected 5 calls, received 0.
import "fmt" func maxDistants(arr []int) int { maxDist := 0 lastOne := -1 for i := 0; i < len(arr); i++ { if arr[i] == 1 { if lastOne == -1 { maxDist = i } else { dist := (i - lastOne) / 2 if dist > maxDist { maxDist = dist } } lastOne = i } } if arr[len(arr)-1] == 0 { dist := len(arr) - 1 - lastOne if dist > maxDist { maxDist = dist } } return maxDist } func main() { fmt.Println(maxDistants([]int{1, 0, 0, 0, 1})) }
What are StatefulSets responsible for and when are they used?
How does Kubernetes update a Deployment when applying a new configuration (rolling update)?
What are channels and how to set a direction for a channel?
How does GOMAXPROCS work and what is the purpose of P (processor) in the GMP model?
Tell me about Istio: what is it, why is it needed, how does it work?
How does a data race differ from a race condition?
Describe the process of loading a Linux server from startup to terminal launch.