Pregunta de entrevista de Amiti Software Technologies

easy one array based question