I've found the answer: How do I search for a number in a 2d array sorted left to right and top to bottom?
Rectangular Young tableau is a m x n
matrix with every column in increasing order from up to down and every row in increasing order from left to right.
Is there efficient algorithm which can search a target in this matrix and tell me the position of this target or not found.
In fact, we can always do binary searchs in first column/row and last column/row such that in O(log mn)
to restrict the original matrix to a submatrix with all elements in first row and first column smaller than target and all elements in last row and column larger than target. Or we have already been able to tell the target not in the matrix or have found it in these four binary search.