Capgemini Interview Question

technical questions were hard to crack.