http://oj.leetcode.com/problems/maximal-rectangle/