Capgemini Engineering Interview Question

Good basic stuff..