Deloitte interview question

Event systems