Sobes.tech

//Given an array of numbers where all numbers except one have a pair, //find the number that appears only once // <= [1, 0, 3, -2, 9, 9, 1, -2, 0] // => 3 int find(int[] arr){ //TODO }

Senior
171

public class ClassA { int a; @Override public boolean equals(Object obj) { //implementation if (this == obj) return true; if (!(obj instanceof ClassA)) return false; ClassA other = (ClassA) obj; return this.a == other.a; } } public class ClassB extends ClassA { int b; @Override public boolean equals(Object obj) { //implementation if (this == obj) return true; if (!(obj instanceof ClassB)) return false; if (!super.equals(obj)) return false; ClassB other = (ClassB) obj; return this.b == other.b; } } ClassB b1 = new ClassB(10, 20); ClassB b2 = new ClassB(10, 20); assertTrue(b1.equals(b2));

Senior
171

Describe the basic hierarchy of exceptions in Java. What are checked and unchecked exceptions?

Senior
171

Did you work with designers on the last project?

Junior — Middle
171

How is memory organized in Java (JVM)? What are the areas: stack, heap?

Senior
171

What protocol was used for interaction with [system/service]?

Senior
171

What happens if there are fewer partitions than consumers?

Senior
171

The product came with a request to develop a Loyalty service, which based on the number of delivered orders (master system for orders OMS) will provide the discount size to the order processing service (cashier). The Loyalty service will not have a front-end part for now, only a mapping in the database to store which discount corresponds to which number of delivered and not canceled orders. Something like: Number of Orders Discount [phone]% [phone]% [phone]% [phone]% It is necessary to design the service, propose integration mechanisms with the Order Processing Service and the Order Management Service. It is necessary to design the architecture of the service, which can be handed over to the development and deployment team.

Senior
171

What is gRPC and what are its advantages?

Senior
171

How can you prevent the Dead Letter Queue from stopping during repeated failures?

Senior
171

What scopes are available in Spring? What is singleton scope?

Senior
171

How did you manage to move abroad and work in Cyprus? What motivated you during relocation?

Senior
171

What delivery strategy is implemented in Kafka by default?

Senior
171

Is it optimal to use the backend as the main architectural component of the project?

Middle — Middle+
170

What is the result returned by the Callable interface in Java?

Junior — Middle
170

What happens if B does not extend A, but both interfaces are independent with the same default method?

Senior
170

Have you encountered difficulties or unforeseen situations during project integration or launch?

Junior — Middle
170

Why are you changing jobs?

Senior
170

How is optimistic locking implemented and what are its features?

Junior — Middle
170
/93