Capgemini interview question

deep thinking and knowledge is required