Barclays Interview Question

Described above in the details.