Second Smallest Element In Array Leetcode Question