Phone Screen: Given a stream of integers(distinct), write a program such that the probability of selecting any number from the stream is equal. Any suggestions on how to solve this ?