About this question
Hard · Probability & Statistics · Quant Trader interview question · probability, geometry, monte-carlo, estimation
You are tasked with estimating the value of $ \pi $ using a Monte Carlo simulation of Buffon's needle problem. A needle of length $l$ is dropped randomly onto a plane ruled with parallel lines a distance $d$ apart, where $l \le d$. What is the probability that the needle will cross a line?