SmartThings Interview Question

Find second smallest number in array without sorting