Cody

Problem 43073. Check if a matrix is a palindrome in all directions

Check if a matrix is a palindrome both vertically and horizontally.

You function will return true for [1,2,1] or [2,7,2; 6,9,6; 2,7,2] . But it should return false for [1,2,3] or [2,7,2; 6,9,6; 3,5,3] .

Solution Stats

44.72% Correct | 55.28% Incorrect
Last solution submitted on Sep 21, 2019

Problem Comments


Problem Recent Solvers44