Deloitte interview question

Technical side can get complicated