Leetcode Monotonic Stack Python Programs For Practice