Question d’entretien chez Two Sigma

Return an element with specified probability.