Have you participated in designing the architecture of a working application?
Java
The company LLC "Romashka" is represented by the tables employee(id, department_id, name, salary) and department (id, name). List the departments where the difference between the maximum and minimum employee salaries is more than 50 thousand.
Did you have to work on a state machine for this task?
Why is the Repeatable Read isolation level needed in this context and is it necessary?
How does LLM work? What does it operate on?
Why did you move to Lektone?
Why is the singleton scope chosen by default for beans, and why is creating an object considered an expensive operation?
What databases have you worked with?
How do non-relational data models differ from relational ones, and when to choose MongoDB over PostgreSQL or Oracle?
What is the difference between threads and processes?
What kind of events, from a business process perspective, fall into retry chains and DLT?
How is the access time complexity to an element by index evaluated in a linked list?
How would you test the "Add product to cart" endpoint? There is a limit: no more than 30 products can be added to the cart. Fields: productId - the id of the product to add quantity - optional, if not specified, the quantity will be 1 POST [link] Params Authorization Headers (8) Body none form-data x-www-form-urlencoded { "productId": 1, "quantity": 2 }
Have you worked directly with writing multithreaded code?
If we have an external API that allows a maximum of 10 concurrent connections, which class from the java.util.concurrent package would you use to limit the number of parallel calls?
When might the @Transactional annotation not work?
Tell me about Stream API: types of operations, the difference between map and flatMap
What are intermediate and terminal methods in streams?
Tell me about the SAGA pattern, the two types — orchestration and choreography, and how do they differ?
Tell us about yourself, your experience, what tasks you have solved, and why you decided to leave.