Find the Element in a Matrix

Write a function to find an element in a matrix that is the largest in its row and smallest in its column.

Input: The first line of input consists of two space-separated integers: matrix_row and matr...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: