Cody

Solution 1841254

Submitted on 6 Jun 2019 by Qiaoli Xie
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = [0 1; 1 0; 2 3; 4 5;]; y_correct = 2; assert(isequal(whosTheOutcast(x),y_correct))

2   Pass
x = [2 4; 6 8; 2 3; 7 9;]; y_correct = 3; assert(isequal(whosTheOutcast(x),y_correct))

3   Pass
x = [1 3; 0 0; 2 2; 4 4;]; y_correct = 1; assert(isequal(whosTheOutcast(x),y_correct))