GeeksforGeeks » Algorithms
maximum number of 1's in a sub matrix
(1 post)-
A n*n matrix contains 1's and 0's . write a algorithm to print a sub matrix that contains only 1's and it should contains maximum number of 1's compare to other sub matrix contains only 1's... for example
INPUT:
0 1 1 0
0 1 1 0
1 0 1 1
OUTPUT:
11
11
Reply
You must log in to post.