Statement
Given anÂ
A lucky number is an element of the matrix such that it is the smallest element in its row and largest in its column.
Constraints:
matrix.length
matrix[i].length
, matrix[i][j]
All elements in the
matrix
are distinct.
Given anÂ
A lucky number is an element of the matrix such that it is the smallest element in its row and largest in its column.
Constraints:
matrix.length
matrix[i].length
matrix[i][j]
All elements in the matrix
are distinct.
Given anÂ
A lucky number is an element of the matrix such that it is the smallest element in its row and largest in its column.
Constraints:
matrix.length
matrix[i].length
matrix[i][j]
All elements in the matrix
are distinct.