Pregunta de entrevista de Tata Consultancy Services

One coding questions of array topic