Leetcode Monotonic Stack Python Problem Statements