Capgemini Interview Question

Basis from the Engineering project