Capgemini Engineering interview question

a puzzle...