Capgemini Interview Question

Previous experience and coding part