Maximum Width Ramp Leetcode Problems On Strings In Python