Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 366 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 366 Bytes

Daily Coding Problem: Problem #66

Good morning! Here's your coding interview problem for today.

This problem was asked by Square.

Assume you have access to a function toss_biased() which returns 0 or 1 with a probability that's not 50-50 (but also not 0-100 or 100-0). You do not know the bias of the coin.

Write a function to simulate an unbiased coin toss.