Pregunta de entrevista de SmartThings

Find second smallest number in array without sorting