Desarrollador De Java Core Interview Questions

248 desarrollador de java core interview questions shared by candidates

Interview Question You’re a software engineer, you’re tasked with implementing a service registry and a load-balancer. We provide the interfaces below. Write in your preferred JVM language that implements the following: Interfaces interface LoadBalancer { fun selectServer(): Server? } interface ServiceRegistry { fun registerServer(server: Server): Boolean fun deregisterServer(server: Server): Boolean fun getServers(): List } data class Server(val id: String, val address: String) Load balancer and service registry should be implemented as two HTTP REST servers while calls from one to another should be done via HTTP. Tasks: Implement the ServiceRegistry and LoadBalancer interfaces. The load-balancer should have two flavors of balancing algorithm: One is round-robin and the other is random selection. Prepare a demo with curl / postman / other http tool to demonstrate the flow. Notes: You can use whatever library that you want. You are allowed to use any external tool that might help you, including Google / Stackoverflow / ChatGPT etc.. Time limits: 1h 30m
avatar

Senior Backend Developer, Core Group

Interviewed at Logz.io

4
Nov 4, 2024

Interview Question You’re a software engineer, you’re tasked with implementing a service registry and a load-balancer. We provide the interfaces below. Write in your preferred JVM language that implements the following: Interfaces interface LoadBalancer { fun selectServer(): Server? } interface ServiceRegistry { fun registerServer(server: Server): Boolean fun deregisterServer(server: Server): Boolean fun getServers(): List } data class Server(val id: String, val address: String) Load balancer and service registry should be implemented as two HTTP REST servers while calls from one to another should be done via HTTP. Tasks: Implement the ServiceRegistry and LoadBalancer interfaces. The load-balancer should have two flavors of balancing algorithm: One is round-robin and the other is random selection. Prepare a demo with curl / postman / other http tool to demonstrate the flow. Notes: You can use whatever library that you want. You are allowed to use any external tool that might help you, including Google / Stackoverflow / ChatGPT etc.. Time limits: 1h 30m

Initial conversation was mainly about C++ object model and language features. The coding part was to write a few fairly ordinary C functions with some gotchas, which have to be explained, and design a data structure. Overall a very pleasant and rational experience, however one needs to be careful with the seemingly innocuous nature of the questions - if you haven't gone through an interview/exam in a while but you are familiar with the problems you can be too eager to get the pressure off and answer quickly. This can lead to missing some of the corner cases. Take time to give it a bit of thought.
avatar

Core Developer

Interviewed at Hudson River Trading

4.1
Aug 31, 2018

Initial conversation was mainly about C++ object model and language features. The coding part was to write a few fairly ordinary C functions with some gotchas, which have to be explained, and design a data structure. Overall a very pleasant and rational experience, however one needs to be careful with the seemingly innocuous nature of the questions - if you haven't gone through an interview/exam in a while but you are familiar with the problems you can be too eager to get the pressure off and answer quickly. This can lead to missing some of the corner cases. Take time to give it a bit of thought.

Viewing 131 - 140 interview questions

Glassdoor has 248 interview questions and reports from Desarrollador de java core interviews. Prepare for your interview. Get hired. Love your job.