Maximum Width Ramp Leetcode Python Beginner