Next Smaller Element Leetcode Python Challenges