This question evaluates a candidate's ability to model and compare randomized versus deterministic ad-insertion policies using probability and statistical concepts such as expectation, variance, and tail (overload) probabilities.

You are designing an ad insertion system. In any short time bucket or session, suppose there are n eligible content slots (impressions) where an ad could be inserted.
Two teams propose different policies:
Assume buckets are contiguous sequences of n slots; when relevant, assume the starting phase of the fixed schedule is uniformly random across the 25 positions (this models arbitrary bucket alignment in production).
Hint: For the 4% random method, model the count of ads with a binomial distribution.
Login required