Domanda di colloquio di Tata Consultancy Services

They asked coding part as sum of array