摘要: 因为两者操作差不多,所以get和update都要O(n) class NumMatrix: def __init__(self, matrix: List[List[int]]): if matrix is None or len(matrix) == 0 or len(matrix[0]) == 阅读全文
posted @ 2020-03-31 09:43 阿牧遥 阅读(213) 评论(0) 推荐(1) 编辑