Barclays Interview Question

Good knowledge of data structures required.