CPA Global interview question

Technical