harbor run -t openthoughts/tasktrove-mix-h10-reward-staged-v2-mix-h10-staged-2288
harbor download openthoughts/tasktrove-mix-h10-reward-staged-v2-mix-h10-staged-2288
Implement the functionality to calculate the area of the largest square that can be formed in a given binary matrix filled with '0's and '1's.
maximal_square_area(matrix)
Input:
List[List[str]]
[['1', '0', '1', '0'], ['1', '1', '1', '1'], ['0', '1', '1', '1']]
[['0', '0'], ['0', '0']]
[['1']]
Output:
/app/solution.py