EverQuote interview question

Two question about randomness