Next Smaller Element Leetcode Problem 23