Simhapuri Energy Interview Question

Designing related question