Capgemini interview question

Few technical questions