Leetcode Monotonic Stack Python Problem In The Everglades