Maximal Square

Return the area of the largest square containing only 1s.

Examples
Input: ["10100","10111","11111","10010"]
Output: 4
Hints

Maximal Square

Return the area of the largest square containing only 1s.