Barclays interview question

mostly technical around theoretical question