Next Smaller Element Leetcode Practice