Question d’entretien chez LinkedIn

Create random number generator from an object with binary output.