摘要: # 这道题还是很简单的,判断对角线上边的数字相同就好了。# 一次遍历,最左边从下到上遍历,最上边从左到右遍历。from typing import Listclass Solution: def isToeplitzMatrix(self, matrix: List[List[int]]) -> b 阅读全文
posted @ 2021-02-22 10:01 月为暮 阅读(55) 评论(0) 推荐(0) 编辑