Question d’entretien chez Amdocs

write code for getting 2nd max no with 1 travarsal of array