Leetcode Monotonic Stack Python Programs Geeksforgeeks