Hudson River Trading Interview Question

Question on simulating random variables.