[LeetCode] 1030. Matrix Cells in Distance Order 距离顺序排列矩阵单元格

We are given a matrix with rows and columns has cells with integer coordinates , where `0 这道题给了一个R行C列的矩阵,又给了一个起始点 (r0, c0),让按照离起始点的曼哈顿距离从小到大排序坐标点。博主最先
posted @ 2021-02-14 13:41  Grandyang  阅读(943)  评论(0编辑  收藏  举报
Fork me on GitHub