Barclays interview question

Brain teaser