Cody

Solution 1581424

Submitted on 12 Jul 2018 by Radha Kumari
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 = [4,5,5,4]; y_correct = true; assert(isequal(isPalindrome(x),y_correct))

2   Pass
x =ones(4); y_correct = true; assert(isequal(isPalindrome(x),y_correct))

3   Pass
x = [2,7,2; 6,9,6; 2,7,2]; y_correct = true; assert(isequal(isPalindrome(x),y_correct))

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

5   Pass
x = [2,7,2; 6,9,6; 3,5,3]; y_correct = false; assert(isequal(isPalindrome(x),y_correct))

Suggested Problems