Deloitte interview question

basic question about swift more on threading