Capgemini interview question

Normal Technical Question