Leetcode Monotonic Stack Python Programs For Beginners