Barclays Interview Question

Random walk