give m x n matrix return true matrix Toeplitz Otherwise return falseA matrix Toeplitz diagonal topleft bottomright element example 1input matrix 123451239512output trueexplanationin grid diagonal are9 5 5 1 1 1 2 2 2 3 3 4in diagonal element answer TrueExample 2input matrix 1222output falseExplanationThe diagonal 1 2 different element Constraintsm matrixlengthn matrixilength1 m n 200 matrixij 99 Follow upwhat matrix store disk memory limit load row matrix memory oncewhat matrix large load partial row memory