Data Science Interview Preparation
Home
Interview Questions
Blog
Write a function to make a biased coin from a fair coin?
Easy
Last updated on May 3, 2022, 10:22 p.m.
Answer in Progress
``
``
Share via
Frequently Asked Questions by
Amazon
Other Posts
Describe how gradient boosting works.
Given a generator of unbiased Bernoulli numbers (0 or 1 with p=0.5), create a biased Bernoulli trial generator (generate 0 or 1 with the specified 0 < p < 1)