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.