Maximum Width Ramp Leetcode Solution In C