Capgemini Interview Question

Not too tough, oops concept