Deloitte interview question

Normal case question