Next Smaller Element Leetcode Python Challenges Code