Given a biased coin function, write another function to make it return heads or tails with equal probability.
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.
Related questions
Write a function to simulate 25 coin flips with 50/50 probability. Return the number of heads.Given the head of two singly linked lists, write a function to return the point where they intersect (if any).Write a function to return all prime numbers up to a given number n.Related courses

Course

