今天学到了一招,LeetCode863

就是bfs的时候在队列之间插入null节点来计算距离。有道理

posted @ 2020-07-06 17:09  AGkd  阅读(134)  评论(1)    收藏  举报