Deloitte interview question

They asked me scenario-based question