## How to find the Largest sorted sub matrix (sorted row-wise as well as column-wise) of a given matrix?

Given a matrix of order n*n. I need to find the length of the largest sorted sub-matrix (sorted both in row-wise and column-wise manner in increasing order).
I made the following code which is not giving out the correct output because of some error i...

more
»