Problem 1865. MiniMax
Find the smallest value in array, which is the maximum of its row and column.
Example: in array shown below are two numbers which are max in their rows and columns, 16 and 15. 15 is smaller, so it should be on the output.
<16> 2 3 13 5 11 10 8 9 7 6 12 4 14 <15> 1
Solution Stats
Problem Comments
-
2 Comments
J.R.! Menzinger
on 25 Sep 2013
There is no check on test-case number 2. ;-)
Jan Orwat
on 26 Sep 2013
Ooops. Thanks José.
Solution Comments
Show commentsProblem Recent Solvers37
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
49354 Solvers
-
Remove the polynomials that have positive real elements of their roots.
1675 Solvers
-
Back to basics 21 - Matrix replicating
1536 Solvers
-
Sum of first n terms of a harmonic progression
419 Solvers
-
347 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!