How to make memory constant (remove dependency on the number of unique characters)?
Golang
What is a JWT token? What does it consist of?
Describe an algorithm for counting substrings with all unique characters.
What will be the interaction between the client, authorization microservice, and store microservice when using JWT? And what will change without JWT, with sessions?
Tell us about your work experience and what you do?
Tell me about the AeroHotels project: the final architecture, how did you design the backend?
What position are you currently considering for yourself that would be interesting?
What is layered architecture and how was it organized in your project?
What work format do you consider?
What is grooming and how does it differ from planning?
/* 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 }
What are your financial expectations?
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?
How does a feature go from planning, development, testing, code review, deployment, to rollback?
/* 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") */
How did you integrate LLM into a project with accounts receivable? Share your general approach.
How did you work with personal data before sending it to an external LLM?
What do you know about Yandex's multitrack program?
/* 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") */