Upstart Interview Question

Asked about how to simulate a stochastic process