Pergunta de entrevista da empresa WorldQuant

Simulate fair coin with unfair coins