Capgemini interview question

Previous experience and coding part