Capgemini interview question

Oops related