Tech Mahindra Interview Question

Questions based on array concept