Pregunta de entrevista de Appinventiv

Program to find second largest and second minimum in an array