Construct The Rectangle Leetcode Solution