Random IP from Load Balancer
Problem overview from a real Apple interview:
Select a server proportionally given arrays of addresses and integer weights. This Apple problem uses prefix sums and binary search for O(log n) picks.
Check more interview questions and experiences about Apple
