Capgemini interview question

Oops