Golang
What is the context in goroutine and how is it used?
Can you explain the principle of atomic operations in programming?
What methods are used to control and configure the process of automatic memory cleanup in a system?
What consequences can arise from not following SOLID principles in software design?
What is the significance of the set of rights 764 in the context of file access in an operating system?
What is the difficulty of applying SOLID principles in the Go language?
How can monitoring and troubleshooting database connection issues be implemented?
How did you ensure testing environments and infrastructure at your previous workplace?
Can you explain the principle of operation of REST API and its main features?
How is goroutine scheduling performed in a program?
""" Seats in a cinema are arranged in a row. A newly arrived viewer chooses a seat to sit as far as possible from other viewers. That is, the distance from the seat they choose to the nearest viewer should be maximized. It is guaranteed that there are always free seats and at least one viewer is already seated. Write a function that, given the row of seats (an array of zeros and ones), returns the distance (number of gaps between chairs) from the chosen seat to the nearest viewer. [1, 0, 0, 0, 1] -> 2 [1, 0, 1, 0, 0, 1, 0, 0, 1] -> 2 [1, 0, 1, 0] -> 1 """
What is the purpose of the repository directory in a project?
Why did you decide to consider changing jobs?
How does gRPC handle and manage communication events?
How does partitioning differ from sharding?
Tell us about your experience with supporting and maintaining industrial projects.
How is the time complexity of binary search determined?
How do you perceive a situation when the use of an interface is not explicitly specified in the code?
What is the role of a consumer group in a message processing or queue system?
Who was involved in resolving the incident after the deployment of the update at the previous job?