Cody

Solution 2002275

Submitted on 4 Nov 2019 by Eric Mueller
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 = [1 2 4 6 4]; y_correct = true; assert(isequal(beatMe(x),y_correct))

2   Pass
x = [1 8 3 2 4]; y_correct = true; assert(isequal(beatMe(x),y_correct))

3   Pass
x = [7 100003 4000002 6.020 4.1]; y_correct = false; assert(isequal(beatMe(x),y_correct))

4   Pass
x = [1 21 45 16 4]; y_correct = false; assert(isequal(beatMe(x),y_correct))

5   Pass
x = [1 3 3 2]; y_correct = false; assert(isequal(beatMe(x),y_correct))

Suggested Problems

More from this Author43