Maximal Rectangle

Given a binary matrix filled with 0s and 1s, find the area of the largest axis-aligned rectangle composed entirely of 1s.

Examples
Input: [[1,0,1,0,0],[1,0,1,1,1],[1,1,1,1,1],[1,0,0,1,0]]
Output: 6
Hints

Maximal Rectangle

Given a binary matrix filled with `0`s and `1`s, find the area of the largest axis-aligned rectangle composed entirely of `1`s.