SmartThings interview question

Find second smallest number in array without sorting