Deloitte interview question

Scenario based