赞
踩
def min_path_sum(grid: list) -> int: if not grid or not grid[0]: raise TypeError("The grid does not contain the appropriate information"