Two Sigma interview question

Design a random number generator without repetition.