Maximal Rectangle Area Leetcode Javascript Questions