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

51.43% Correct | 48.57% Incorrect
Last solution submitted on Oct 17, 2016

Problem Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more