Deloitte interview question

Nothing particularly difficult