Maximal Rectangle

From LeetCode. Max rectangle in binary matrix. Solve the geometry problem "Maximal Rectangle".

Examples
Input: [1,2,3]
Output: 0
Hints

Maximal Rectangle

**From LeetCode.** Max rectangle in binary matrix. Solve the geometry problem "Maximal Rectangle".