Leetcode Maximal Rectangle Leetcode Contest Solution