Barclays interview question

Pretty standard questions