Leetcode Maximal Rectangle Leetcode Sql Window