Barclays interview question

Technical questions