Capgemini Interview Question

More questions on slice and array