Maximum Width Ramp Leetcode Solution 862