Maximal Rectangle Area Leetcode Problems Javascript Snake Mudhead