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

Problem 2158. Largest territory

Created by CHEONNO LEE

Determine whose territory is largest. If there are two more large territory, determine a smaller number.

For example,

 X = 
 [ 1 1 2 2
   1 1 2 2
   2 2 2 2 ]
 y = 2

Tags

Problem Group

Solution Statistics

19 correct solutions 6 incorrect solutions
Last solution submitted on Aug 20, 2014