Clinisys Interview Question

Finding second highest number in array with single for loop