National Grid interview question

Typical situational