Sobes.tech

How to make memory constant (remove dependency on the number of unique characters)?

203

What is a JWT token? What does it consist of?

203

Describe an algorithm for counting substrings with all unique characters.

202

What will be the interaction between the client, authorization microservice, and store microservice when using JWT? And what will change without JWT, with sessions?

201

Tell us about your work experience and what you do?

201

Tell me about the AeroHotels project: the final architecture, how did you design the backend?

200

What position are you currently considering for yourself that would be interesting?

199

What is layered architecture and how was it organized in your project?

198

What is grooming and how does it differ from planning?

195

/* There is an application with a microservice architecture. A microservice can be abstracted using the Backend interface. To access a single instance of a microservice, you can use the BackendImpl type, which is already implemented. For each microservice, there are several dozen running instances, each accessible via its own address addr. However, individual instances of the microservice are unreliable: they can crash, be unavailable, or overloaded. Therefore, you need to implement the Balancer type, which also implements the Backend interface and performs client-side load balancing among the microservice instances, choosing the **least loaded** instance each time. */ type Request interface{} type Response interface{} type Backend interface { Invoke(ctx context.Context, req Request) (Response, error) } var _ Backend = &BackendImpl{} // addr contains the ip:port of a specific instance func NewBackend(addr string) *BackendImpl type Balancer struct { //TODO } var _ Backend = &Balancer{} // addrs contain the addresses of all balancable instances func NewBalancer(addrs []string) *Balancer { //TODO }

194

What are your financial expectations?

194

Task: there is a service with a limit of 5 parallel requests to the LLM. When the 6th request comes, a 429 error occurs. How to solve this problem conceptually?

193

How does a feature go from planning, development, testing, code review, deployment, to rollback?

189

/* Given a string of characters. Find the number of pairs of indices i and j (i <= j), between which there are no repeating characters. For the string "aba" the answer is 5: [0, 0] ("a") [0, 1] ("ab") [1, 1] ("b") [1, 2] ("ba") [2, 2] ("a") */

189

How did you integrate LLM into a project with accounts receivable? Share your general approach.

189

How did you work with personal data before sending it to an external LLM?

188

What do you know about Yandex's multitrack program?

187

/* Given a string of characters. Find the number of pairs of indices i and j (i <= j) between which there are no repeating characters. For the string "aba" the answer is 5: can be ASCII [0, 0] ("a") [0, 1] ("ab") [1, 1] ("b") [1, 2] ("ba") [2, 2] ("a") */

187
/11