Maximum Height Of A Triangle Leetcode