Capgemini interview question

Good