Pergunta de entrevista da empresa Revolut

Implement LoadBalancer in Java with 10 back-end server addresses. If addresses more than 10 then throw an exception. If duplicate server address then throws an exception.