LeetCode 802. 找到最终的安全状态


三色标记法找图中的环,或拓扑排序思想拆除安全的点

posted @ 2021-12-07 20:19  80k  阅读(29)  评论(0)    收藏  举报