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

293 Solutions

135 Solvers

Last Solution submitted on Mar 12, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...