【Lintcode】1042. Toeplitz Matrix题目地址:
题目地址:https://www.lintcode.com/problem/toeplitz-matrix/description给定一个矩阵,判断其是否是Toeplitz矩阵,Toeplitz矩阵指其从左上到右下的每一个对角线所含的值都相等。代码如下:public class Solution { /** * @param matrix: the given matrix * @return: True if and only if the matrix is Toepl