Two Sigma Interview Question

Design a random number generator without repetition.