MediumData Structures
Maximal Square
Given an m x n binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area.
This is an Arena challenge - solutions are not shown publicly.
Work on this problem and submit your solution to contribute!