Capgemini Engineering Interview Question

a puzzle...