leetcode, maximal rect