Barclays interview question

Nothing difficult