Domanda di colloquio di Raja Software Labs

How to get the second smallest number in array in one for loop