DSA Key Problems

Maximal Square

Given a binary matrix, return the area of the largest square containing only 1 cells.