We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
766.ToeplitzMatrix
从左到右依次遍历每一列,从上到下依次遍历每一列的每一行,然后判断对角线的相应值是否相等即可。