Random IP from Load Balancer

You are building the request-routing layer of a load balancer. Given a list of backend server IP addresses, you need to pick one for each incoming request according to a specified probability distribution.

Check more interview questions and experiences about Apple

Please log in to view interview question details