Barclays interview question

Nothing unexpected