X Interview Question

How would you estimate pi given a random number generator?

Interview Answer

Anonymous

Feb 4, 2016

Draw a circle of unit radius inside square. Generate random points and calculate pi

3