This question evaluates a candidate's ability to implement Monte Carlo simulations and validate analytical probability results, testing skills in stochastic processes, numerical estimation, and programming within the Coding & Algorithms domain for data scientist roles.
Same radioactive-decay problem, but now validate the analytical answer via simulation during the interview.
Share screen and write runnable code (any language) that Monte-Carlo simulates the decay of 100 particles, repeats many trials, and estimates the survival probability computed above.
Generate exponential or Bernoulli survival, loop many trials, collect frequencies, compare to theoretical value.