Barclays Interview Question

couldn't help myself to crack round 1