Capgemini Engineering Interview Question

I Will fill it later