Pregunta de entrevista de LinkedIn

Create random number generator from an object with binary output.