Leetcode Next Smaller Element Problem