Hudson River Trading interview question

Question on simulating random variables.