Domanda di colloquio di Amdocs

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