【文件属性】:
文件名称:Maximum Submatrix
文件大小:3KB
文件格式:JAVA
更新时间:2022-10-02 10:22:31
java matrix
Given an n*n matrix composed of 0 or 1, determine the top left corner position and the order of the maximum submatrix in which all of element are 1.
Example:
Input:
5
1 1 0 1 0
1 0 1 0 1
0 1 1 1 0
0 1 0 0 0
0 1 0 0 1
Output: position: (2,1), order: 3*1