Capgemini Interview Question

simple intern level array question