title: random number with equal probability from a continuous stream
body: <p>You have a continuous stream of numbers coming in. You don't have space to store them all. But devise a mechanism by which at any point of time you select any number with equal probability.</p>