HSBC Interview Question

stochastic calculus, programming, probability, brain teaser